Mysql 备份_MySQL
程序员文章站
2024-02-02 08:18:46
...
-
mysqldump
备份table
/usr/local/mysql/bin/mysqldump -h 192.168.0.123 -uyourmysql_user -p"yourpasswd" -B yourdatabase --tables yourtable > /tmp/test.sql
备份database
/usr/local/mysql/bin/mysqldump -h 192.168.0.123 -uyourmysql_user -p"yourpasswd" -B yourdatabase > /tmp/test.sql
上一篇: sql 创建触发器