Image

Imageamokk wrote in Imagelinux

transfering mysql

I had a hard drive crash, and it required me to get a new hard drive. I have a clean install of my OS (yay, larger partitions since I'm not so stupid about growth), and the other drive is set as a slave now (I can read it, the OS files just got corrupted from a bunch of bad restarts to the box which I still don't know the full cause of), so I can physically get to all the files.


What steps do I need to perform to move the mysql databases from the old drive to the new?

I'm using Mandrake 9.1, mysql's latest versions (just did MandrakeUpdate on it earlier, can't remember the version offhand), and I tend to use phpmyadmin to administrate over the command line controls (which are still pretty elusive to me except when a script comes with instructions on how to use it).

Is there any other info needed from my end before you can answer?

Thanks.