/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# mysqladmin create DB_name -u DB_user --password=DB_pass && \ mysqldump -u DB_user --password=DB_pass DB_name | mysql -u DB_user --password=DB_pass -h DB_host DB_name