View Single Post
Old 06-28-2007, 09:34 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,475
sde is on a distinguished road
hi sarah,

usually mysql files are stored in /var/lib/mysql. the database will be a directory with the same name as the db. inside the directory you should see table names with extensions like MYD, MYI, and frm.

once you've located the db directory on the backup drive, copy it over to the mysql directory on your new drive.

once that is done, you should be able to login to mysql as root and grant permissions to that database for the user/pass specified in your gallery scripts.
__________________
Mike
sde is offline   Reply With Quote