PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > mysql.general > Removed ibdata1
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Removed ibdata1

Réponse
 
LinkBack Outils de la discussion
Vieux 24/08/2007, 20h20   #1
Adriano Ceccarelli
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Removed ibdata1

Hi,

I removed accidentaly the files :
/var/lib/mysql/ibdata1
/var/lib/mysql/ib_logfile0
/var/lib/mysql/ib_logfile1

how can I remover them from data files

note
> show tables

list all tables OK

> desc wiki_text

ERROR 1146 (42S02): Table 'intranet.wiki_text' doesn't exist
this erro in all tables type innodb


# ls -la /var/lib/mysql/intranet/
list all files .frm OK



thanks
Adriano

  Réponse avec citation
Vieux 24/08/2007, 20h24   #2
Stut
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Removed ibdata1

Adriano Ceccarelli wrote:
> I removed accidentaly the files :
> /var/lib/mysql/ibdata1
> /var/lib/mysql/ib_logfile0
> /var/lib/mysql/ib_logfile1
>
> how can I remover them from data files
>
> note
>> show tables

> list all tables OK
>
>> desc wiki_text

> ERROR 1146 (42S02): Table 'intranet.wiki_text' doesn't exist
> this erro in all tables type innodb
>
>
> # ls -la /var/lib/mysql/intranet/
> list all files .frm OK


I'm no expert, but I believe the data in InnoDB tables is stored in
ibdata1. Game over I'm afraid.

-Stut

--
http://stut.net/
  Réponse avec citation
Vieux 24/08/2007, 20h27   #3
Olaf Stein
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Removed ibdata1

If you use default configuration (meaning all innodb data in one idata file)
you just deleted your data.
If you have a recent dump, drop all innodb tables and use the dump to
restore


On 8/24/07 3:20 PM, "Adriano Ceccarelli" <aceccarelli@gmail.com> wrote:

> Hi,
>
> I removed accidentaly the files :
> /var/lib/mysql/ibdata1
> /var/lib/mysql/ib_logfile0
> /var/lib/mysql/ib_logfile1
>
> how can I remover them from data files
>
> note
>> show tables

> list all tables OK
>
>> desc wiki_text

> ERROR 1146 (42S02): Table 'intranet.wiki_text' doesn't exist
> this erro in all tables type innodb
>
>
> # ls -la /var/lib/mysql/intranet/
> list all files .frm OK
>
>
>
> thanks
> Adriano


  Réponse avec citation
Vieux 24/08/2007, 20h41   #4
Adriano Ceccarelli
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Removed ibdata1

It's problem. I don't have dump data :-S


2007/8/24, Olaf Stein <steino@ccri.net>:
>
> If you use default configuration (meaning all innodb data in one idata
> file)
> you just deleted your data.
> If you have a recent dump, drop all innodb tables and use the dump to
> restore
>
>
> On 8/24/07 3:20 PM, "Adriano Ceccarelli" <aceccarelli@gmail.com> wrote:
>
> > Hi,
> >
> > I removed accidentaly the files :
> > /var/lib/mysql/ibdata1
> > /var/lib/mysql/ib_logfile0
> > /var/lib/mysql/ib_logfile1
> >
> > how can I remover them from data files
> >
> > note
> >> show tables

> > list all tables OK
> >
> >> desc wiki_text

> > ERROR 1146 (42S02): Table 'intranet.wiki_text' doesn't exist
> > this erro in all tables type innodb
> >
> >
> > # ls -la /var/lib/mysql/intranet/
> > list all files .frm OK
> >
> >
> >
> > thanks
> > Adriano

>
>


  Réponse avec citation
Vieux 24/08/2007, 20h44   #5
Olaf Stein
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Removed ibdata1

Then see if you can recover the deleted files from your filesystem
I think there is a tool called e2undel for ext2 filesystems, not sure how
easy this is on journaling fs

olaf


On 8/24/07 3:41 PM, "Adriano Ceccarelli" <aceccarelli@gmail.com> wrote:

> It's problem. I don't have dump data :-S
>
>
> 2007/8/24, Olaf Stein <steino@ccri.net>:
>> If you use default configuration (meaning all innodb data in one idata file)
>> you just deleted your data.
>> If you have a recent dump, drop all innodb tables and use the dump to
>> restore
>>
>>
>> On 8/24/07 3:20 PM, "Adriano Ceccarelli" <aceccarelli@gmail.com> wrote:
>>
>>> > Hi,
>>> >
>>> > I removed accidentaly the files :
>>> > /var/lib/mysql/ibdata1
>>> > /var/lib/mysql/ib_logfile0
>>> > /var/lib/mysql/ib_logfile1
>>> >
>>> > how can I remover them from data files
>>> >
>>> > note
>>>> >> show tables
>>> > list all tables OK
>>> >
>>>> >> desc wiki_text
>>> > ERROR 1146 (42S02): Table 'intranet.wiki_text' doesn't exist
>>> > this erro in all tables type innodb
>>> >
>>> >
>>> > # ls -la /var/lib/mysql/intranet/
>>> > list all files .frm OK
>>> >
>>> >
>>> >
>>> > thanks
>>> > Adriano

>>

>



  Réponse avec citation
Vieux 24/08/2007, 20h56   #6
Adriano Ceccarelli
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Removed ibdata1

humm... I'm use ext3... I'm see tool and try recover

tks


2007/8/24, Olaf Stein <steino@ccri.net>:
>
> Then see if you can recover the deleted files from your filesystem
> I think there is a tool called e2undel for ext2 filesystems, not sure how
> easy this is on journaling fs
>
> olaf
>
>
> On 8/24/07 3:41 PM, "Adriano Ceccarelli" <aceccarelli@gmail.com> wrote:
>
> It's problem. I don't have dump data :-S
>
>
> 2007/8/24, Olaf Stein <steino@ccri.net>:
>
> If you use default configuration (meaning all innodb data in one idata
> file)
> you just deleted your data.
> If you have a recent dump, drop all innodb tables and use the dump to
> restore
>
>
> On 8/24/07 3:20 PM, "Adriano Ceccarelli" <aceccarelli@gmail.com> wrote:
>
> > Hi,
> >
> > I removed accidentaly the files :
> > /var/lib/mysql/ibdata1
> > /var/lib/mysql/ib_logfile0
> > /var/lib/mysql/ib_logfile1
> >
> > how can I remover them from data files
> >
> > note
> >> show tables

> > list all tables OK
> >
> >> desc wiki_text

> > ERROR 1146 (42S02): Table 'intranet.wiki_text' doesn't exist
> > this erro in all tables type innodb
> >
> >
> > # ls -la /var/lib/mysql/intranet/
> > list all files .frm OK
> >
> >
> >
> > thanks
> > Adriano

>
>
>


  Réponse avec citation
Vieux 24/08/2007, 21h05   #7
Adriano Ceccarelli
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Removed ibdata1

thanks for .. mas no success..

2007/8/24, Stut <stuttle@gmail.com>:
>
> Adriano Ceccarelli wrote:
> > I removed accidentaly the files :
> > /var/lib/mysql/ibdata1
> > /var/lib/mysql/ib_logfile0
> > /var/lib/mysql/ib_logfile1
> >
> > how can I remover them from data files
> >
> > note
> >> show tables

> > list all tables OK
> >
> >> desc wiki_text

> > ERROR 1146 (42S02): Table ' intranet.wiki_text' doesn't exist
> > this erro in all tables type innodb
> >
> >
> > # ls -la /var/lib/mysql/intranet/
> > list all files .frm OK

>
> I'm no expert, but I believe the data in InnoDB tables is stored in
> ibdata1. Game over I'm afraid.
>
> -Stut
>
> --
> http://stut.net/
>


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h02.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13363 seconds with 15 queries