nirjhar Posted April 25, 2006 Share Posted April 25, 2006 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........ Quote Link to comment https://forums.phpfreaks.com/topic/8371-problem-on-copying-database/ Share on other sites More sharing options...
fenway Posted April 25, 2006 Share Posted April 25, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/8371-problem-on-copying-database/#findComment-30655 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.