首页 >数据库 >mysql教程 >Mysql 备份_MySQL

Mysql 备份_MySQL

WBOY
WBOY原创
2016-06-01 13:11:42786浏览
  1. 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


声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn