设为首页 加入收藏

TOP

mysqlhotcopy备份myisam表
2014-11-24 07:18:56 来源: 作者: 【 】 浏览:0
Tags:mysqlhotcopy 备份 myisam

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运维”

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇查看mysql的执行计划 下一篇剖析MySQL左连接/右连接/等值连接..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·Redis 分布式锁全解 (2025-12-25 17:19:51)
·SpringBoot 整合 Red (2025-12-25 17:19:48)
·MongoDB 索引 - 菜鸟 (2025-12-25 17:19:45)
·What Is Linux (2025-12-25 16:57:17)
·Linux小白必备:超全 (2025-12-25 16:57:14)