Home >Database >Mysql Tutorial >mysql数据库备份和倒库操作_MySQL

mysql数据库备份和倒库操作_MySQL

WBOY
WBOYOriginal
2016-06-01 13:10:141798browse

mysql 数据库的直接复制:

备份:mysqldump -uroot -p thisdatabase>/home/work/backup/test.sql;

创建:mysql -uroot -p thatdatabases/home/work/backup/test.sql;


如果没有mysql 或者mysqldump 不好使

需要进入mysql/bin  用./mysql 进行操作


这样子达到备份和拷贝数据库的目的


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