Jump to content


Photo

problem on copying database.........


  • Please log in to reply
1 reply to this topic

#1 nirjhar

nirjhar
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 25 April 2006 - 02:50 PM

I need to copy a database in another machine............I can copy it with mysqldump command from my computer.............& can made a text file but I don't know how I can restore that database in another computer..............that com is not in a network.............plz help me to solve this prob as early as possible........

#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 25 April 2006 - 05:43 PM

Assuming you've got the dump file of SQL statements, just read it in... "mysql -u <username> < dump.sql". Of course, I'm assuming that your target DB is clean.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users