Dec 6, 2002 #1 JohnLewis25 Programmer Joined Nov 26, 2002 Messages 7 Location GB What is the simplest way to transfer a complete MySQL database from one machine to another?
Dec 8, 2002 #2 805pr Programmer Joined Dec 5, 2002 Messages 5 Location US I would use mysqldump for this. It will backup all tables in a database. from the unix/linux propmt(not in mysql): mysqldump -u username -p database > backup.sql On the second machine first create the database where you want the tables then: mysql -u username -p database < backup.sql Mike Upvote 0 Downvote
I would use mysqldump for this. It will backup all tables in a database. from the unix/linux propmt(not in mysql): mysqldump -u username -p database > backup.sql On the second machine first create the database where you want the tables then: mysql -u username -p database < backup.sql Mike
Dec 8, 2002 Thread starter #3 JohnLewis25 Programmer Joined Nov 26, 2002 Messages 7 Location GB Thanks. Upvote 0 Downvote