Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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
 
PREVIOUS NEXT
Tagged: #mysql #export #import
ADD COMMENT
Topic
Name
8+4 =