User Rating: / 0
PoorBest 

Bookmark and Share

If you are new to Unixmen, you may want to subscribe :

Question :How to import and export a mysql database using ssh.

 

Answer :

     To export a database use:

 

            mysqldump -u root -p db-name > backup.sql 

To import a database:

        mysql -u root -p db-name < backup.sql



Related Articles By Tags:

Comments (0)
Write comment
Your Contact Details:
Gravatar enabled
Comment:
[b] [i] [u] [s] [url] [quote] [code] [img]   
:D:):(:0:shock::confused:8):lol::x:P:oops::cry:
:evil::twisted::roll::wink::!::?::idea::arrow: