Which is the fastest way to transfer mysql databases from xampp on Windows to a MySql server on Ubuntu?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
Xampp comes packaged with PhpMyAdmin, if memory serves. Use that web interface to export your database tables in .sql format.
If you have PhpMyAdmin on the Ubuntu machine as well, you can use that to import the exported .sql file there. If you don't, you can do the import from the command line. Create an empty database on the Ubuntu machine with: After that, you can import the .sql file you made earlier using
Thanks to xofer for the comment below, I updated my answer. |
|||||||||
|
|
from the command line:
then copy the .sql to the ubuntu server and then:
|
|||
|
|
