aspose file tools*
The moose likes JDBC and the fly likes How to do export and import DB in mysql? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to do export and import DB in mysql?" Watch "How to do export and import DB in mysql?" New topic
Author

How to do export and import DB in mysql?

Amruta Jegarkal
Greenhorn

Joined: Nov 29, 2012
Posts: 29
Consider I have two laptops....Laptop A and Laptop B,i want to transfer schema from A to B....A got Ubuntu OS and B got Windows OS...Both are using MYSQL....How to do this?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41880
    
  63
Just the schema? Or the data as well? Either way, you'd use the "mysql" command line tool that comes with MySql. If the former, then the "--no-data" option is the way to go.


Ping & DNS - my free Android networking tools app
Amruta Jegarkal
Greenhorn

Joined: Nov 29, 2012
Posts: 29
Thank you
 
wood burning stoves
 
subject: How to do export and import DB in mysql?