Home >Database >Mysql Tutorial >Mysql 备份_MySQL

Mysql 备份_MySQL

WBOY
WBOYOriginal
2016-06-01 13:11:42787browse
  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


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn