backup mysql schema only code example
Example: backup mysql schema only
mysqldump -u testuser -p --no-data testdb > /tmp/testdb_schema.sql
#Syntax:
mysqldump -u [MYSQL_USER] -p --no-data [DB_NAME] > [OUTPUT_FILE]
mysqldump -u testuser -p --no-data testdb > /tmp/testdb_schema.sql
#Syntax:
mysqldump -u [MYSQL_USER] -p --no-data [DB_NAME] > [OUTPUT_FILE]