Garayed.com  

Go Back   Garayed.com > mySQL
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-09-2008, 04:23 PM
Pankaj
 
Posts: n/a
Default Table was created with a different version of MySQL and cannot beread

Hi All,

I updated my version of mysql from 4.1.22 to 5.0.45 and found that my
tables are not being read now. I tried to go back to the older
version. Now it seems that I have two versions of mysql installed.
When I login to the server and do a SELECT version(), it shows my
version as 4.1.22 while phpinfo shows the version as 5.0.45 . I am
still not able to access the tables.

How can I get back to the older version and retrieve the tables. My DB
is huge and I cannot do a mysqldump

TIA
Pankaj
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-09-2008, 08:05 PM
Kees Nuyt
 
Posts: n/a
Default Re: Table was created with a different version of MySQL and cannot be read

On Fri, 9 May 2008 09:23:37 -0700 (PDT), Pankaj
<panahuja@gmail.com> wrote:

>Hi All,
>
>I updated my version of mysql from 4.1.22 to 5.0.45 and found that my
>tables are not being read now. I tried to go back to the older
>version. Now it seems that I have two versions of mysql installed.
>When I login to the server and do a SELECT version(), it shows my
>version as 4.1.22 while phpinfo shows the version as 5.0.45 . I am
>still not able to access the tables.


Did you read the upgrade instructions?

>How can I get back to the older version and retrieve the tables.


Stop the mysqld service/daemon (=new version).
Uninstall the new mysql version.
Install the old mysql version.
Check if your my.ini file is correct, it should point
to the directory where your databases used to be.
Start the mysqld service/daemon (=old version).
Try to access your data.
If that doesn't work:
Stop the mysqld service/daemon.
Restore your most recent backup of all database files.
Check your my.ini file again.
Start the mysqld service/daemon (=old version).
Now it should work.
If it still doesn't, you're out of luck.

>My DB is huge and I cannot do a mysqldump


Then you can't upgrade. Unless you mimic the behaviour
of mysqldump (for making a backup) and mysql (for
restoring it) with your own scripts / programs.

>TIA
>Pankaj

--
( Kees
)
c[_] Fish come in many shapes and sizes. (#527)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:32 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.