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

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

WBOY
Release: 2016-06-01 13:10:14
Original
1824 people have browsed it

mysql 数据库的直接复制:

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

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


如果没有mysql 或者mysqldump 不好使

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


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


source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template