i want to copy my database qdbase server it located at:

qa@qaubuntu:~$ /var/lib/mysql/qdbase

to the client PC, i want it located at:

qa@qadesktop:~$ /home/qa/html

everyone tell me to use mysqldump.how to use that bcoz i never know to use that?

link|improve this question

feedback

2 Answers

up vote 0 down vote accepted

The following is just an example to use mysqldump.

cd /home/qa/html
mysqldump --host="hostname" --user="username" --password="password" databasename > backup_name.sql
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.