If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Recover Database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-22-04, 06:23
mstroeck mstroeck is offline
Registered User
 
Join Date: Dec 2004
Posts: 1
Recover Database

Hi all!

I'm completely new to MySQL and I tried to do my homework (I RTFD), but I can't figure out what to do and am in quite a hurry to find out. So here goes...

My situation: I have two hard disk drives in a server at a hosting company, one is the old one with a dead RH9 installation (very strange RPM issue, http and php completely messed up). On this one is also an old MySQL database with LOTS of information that otherwise would have to be reentered by hand by me and about a dozen other peole.

On the new disk, there is a shiny, brand-new installation of RH9 with a virgin database. Can I somehow copy the old database to that new installation? If so, how? I can't just try and see what happens, because each manual reboot costs me money. Also I pay for the time both disks are still in my machine. I would appreciate any input.
Reply With Quote
  #2 (permalink)  
Old 12-23-04, 08:53
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
If you use MyIsam table type (which is the default with MySql) you can copy the databases file from one disk to an other.
You just need to change permission on the database folder and restar Mysql server.
You may not have to reboot the server but you need kill and restard mysqld.
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
  #3 (permalink)  
Old 01-05-05, 02:08
pdel pdel is offline
Registered User
 
Join Date: Apr 2004
Posts: 7
Unhappy

if you are like, me a newbie, not that good at a command line, i recommend myManager. it has the capability to do the job that you describe in GUI... you can easily navigete through the backup facility...
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

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