Answers for "mysql export script"

SQL
13

how to export db from mysql

mysqldump -u username -p dbname > dbexport.sql
Posted by: Guest on May-19-2020
0

mysql export and import

1. Export DB:
mysqldump -u root -p DB_NAME > 18_06_21.sql

2. import DB:
mysql -u root -h HOST_IP -p DB_NAME < 18_06_21.sql
Posted by: Guest on June-18-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language