Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to do export and import DB in mysql?

 
Amruta Jegarkal
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Amruta Jegarkal
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic