Answers for "mysql dump schema onlu"

SQL
1

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]
Posted by: Guest on January-06-2021
0

get only structure database mysql

mysqldump -u root -p --no-data dbname > schema.sql
Posted by: Guest on September-22-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language