• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Elephant
程序猿
博客园    首页    新随笔    联系   管理    订阅  订阅
2014年5月27日
mysql主从同步报slave_sql_running:no的解决方案
摘要: 1.没有正确设置server_id(如没有正确设置从配置项)ps:可手动设置server_id2.slave stop;set global sql_slave_skip_counter=1;slave start; 阅读全文
posted @ 2014-05-27 17:25 fanelephant 阅读(561) 评论(0) 推荐(0)
linux远程连接mysql数据库
摘要: 在linux系统中,远程连接mysql数据库时不仅需要开启ip访问,还需要将防火墙中添加相应规则在wdlinux中的【安全管理】菜单下选择【防火墙【iptables】】选项,增加端口为3306的规则即可 阅读全文
posted @ 2014-05-27 17:19 fanelephant 阅读(437) 评论(0) 推荐(0)
mysql主从同步mysql slave_io_running:no的解决方案
摘要: 在主从同步的时候出现slave_io_running:no 问题,于是查看mysqld.log日志,发现时1042错误解决方案:编辑/etc/my.cnf,在:[mysqld]内添加一行:skip-name-resolve即可 阅读全文
posted @ 2014-05-27 17:16 fanelephant 阅读(1491) 评论(0) 推荐(0)
show master status empty解决方案
摘要: The following MySQL error might occur if you are using MySQL replication and binary logs.mysql> show binary logs;ERROR 1381 (HY000): You are not using... 阅读全文
posted @ 2014-05-27 08:29 fanelephant 阅读(1030) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3