会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
代码印记
上游科技
首页
联系
管理
2021年4月6日
在linux中编写shell脚本实现mysql备份
摘要: 首先需要编辑/etc/my.cnf文件,否则执行mysqldump时会提示连接错误: # vim /etc/my.conf 增加以下内容: [mysqldump] user=root password=你的密码 之后重启mysql: # service mysqld restart 创建脚本: #
阅读全文
posted @ 2021-04-06 15:56 网无忌
阅读(143)
评论(0)
推荐(0)
编辑