As a result of hard drive malfunction, I have installed a new version of 5.5.17 Community Server Mac OSX x86 on Lion. I can get the database files from the previous installation (5.5.10 x86) using Time Machine but if I copy the files in the data directory over, I can't start the mysql server.
From the readme.txt
"To use your existing databases with the new installation, you'll need
to copy the contents of the old data directory to the new data
directory."
If I just copy across the database folder I need, I *can* start the server but can't see the database logged on as root "mysql> select databases();"
If I replace the entire data directory with the old contents, the server won't start.
Do I need to update the server so it knows it has the new(old) database?
Which files do i need to copy across?
The original database was accessible by another user "jim" but with no password, perhaps I need to create another "jim" user
Thanks for help, or the right search keywords, Gav
From the readme.txt
"To use your existing databases with the new installation, you'll need
to copy the contents of the old data directory to the new data
directory."
If I just copy across the database folder I need, I *can* start the server but can't see the database logged on as root "mysql> select databases();"
If I replace the entire data directory with the old contents, the server won't start.
Do I need to update the server so it knows it has the new(old) database?
Which files do i need to copy across?
The original database was accessible by another user "jim" but with no password, perhaps I need to create another "jim" user
Thanks for help, or the right search keywords, Gav