Jump to content

Archived

This topic is now archived and is closed to further replies.

nirjhar

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

Recommended Posts

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........

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.