Apr 8, 2003 #1 cnw40007 Technical User Mar 4, 2003 35 IE hi is it possible to save a mysql database onto a floopy to use on another computer?If so how would i go about it?Thanks cnw40007
hi is it possible to save a mysql database onto a floopy to use on another computer?If so how would i go about it?Thanks cnw40007
Apr 8, 2003 #2 QatQat IS-IT--Management Nov 16, 2001 1,031 IT at prompt if you are using linux /usr/bin/mysqldump -u root -psomepassword database_name > /mnt/floppy/dumpfilename.sql if you are running MS c:\mysql\bin\mysqldump -u root -psomepassword database_name > a:\filenale.sql Bye Qatqat The reason why my girlfriend can read my thoughts is because mine are properly written! (G.Lepore) Upvote 0 Downvote
at prompt if you are using linux /usr/bin/mysqldump -u root -psomepassword database_name > /mnt/floppy/dumpfilename.sql if you are running MS c:\mysql\bin\mysqldump -u root -psomepassword database_name > a:\filenale.sql Bye Qatqat The reason why my girlfriend can read my thoughts is because mine are properly written! (G.Lepore)
Apr 8, 2003 Thread starter #3 cnw40007 Technical User Mar 4, 2003 35 IE great that worked, how do i save it onto another linux machine? Upvote 0 Downvote
Apr 8, 2003 #4 danielhozac Programmer Aug 21, 2001 2,058 SE How do you connect to the other machine? SSH, FTP, NFS or what? //Daniel Upvote 0 Downvote
Apr 8, 2003 #5 QatQat IS-IT--Management Nov 16, 2001 1,031 IT Do you mean How to import it into another machine? move the file across. Save it into any directory let's assume /tmp if your file is called dbfile.sql then log on like this /usr/bin/mysql -u root -pyourpassword database_name < /tmp/dbfile.sql Bye Qatqat The reason why my girlfriend can read my thoughts is because mine are properly written! (G.Lepore) Upvote 0 Downvote
Do you mean How to import it into another machine? move the file across. Save it into any directory let's assume /tmp if your file is called dbfile.sql then log on like this /usr/bin/mysql -u root -pyourpassword database_name < /tmp/dbfile.sql Bye Qatqat The reason why my girlfriend can read my thoughts is because mine are properly written! (G.Lepore)