MySQL

MySQL Commands

Dump table structure without data:

mysqldump -u root -p  --no-data > c:\dump.sql

Import data and structure from dump file:

mysql -u USER -p DBNAME < dump.sql

Leave a Reply