How to export / import database in mysql through comman line,
mysql system config ,
WAMPSERVER server installed .
OS WINDOWS
The advise for my local host , not an live hosting...
Thanks
How to export / import database in mysql through comman line,
mysql system config ,
WAMPSERVER server installed .
OS WINDOWS
The advise for my local host , not an live hosting...
Thanks
use mysqldump -u username -p databasename > filename.sql
to export and mysql -u username -p databasename < filename.sql
to import
To backup:
mysqldump -u user -p DATABASE > backup.sql
To import:
mysql -u user -p DATABASE < backup.sql