Home  >  Article  >  Database  >  mysqlhotcopy备份myisam表_MySQL

mysqlhotcopy备份myisam表_MySQL

WBOY
WBOYOriginal
2016-06-01 13:44:49847browse

bitsCN.com

1、安装perl扩展
      shell> perl -MCPAN -e shell
      cpan> install DBI
      cpan> install DBD::mysql
2、备份表myisam
      #mysqlhotcopy -h localhost -u root -p 123456 demo /data/back/
      -h 数据库主机
      -u 数据库用户名
      -p 数据库密码
      ‘demo’数据库名称
作者 “linux运维”

bitsCN.com
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