mysql多实例启动失败_mysql多实例启动的几个错误

昨天布置一台mysql服务器,需要用到几个实例测试,原来布置的时候一直比较顺利,这次却碰到了几个问题,贴出了共享呢一下!

1. 111019 15:04:28 mysqld_safe The file /usr/local/mysql/bin/mysqld

does not exist or is not executable. Please cd to the mysql installation

directory and restart this script from there as follows:

./bin/mysqld_safe&

See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information

错误码如上,之前没有出现过,现在出现的是mysqld_safe在调用/usr/local/mysql/bin/mysqld的时候 这个文件不存在或者是不能够执行。这个是因为我在/etc/my.cnf这个地方没有指定在每个实例节点的basedir,添加上去basedir=/opt/mysql/即可

2. WARNING: Log file disabled. Maybe directory or file isn't writable?

mysqld_multi log file version 2.16; run: Wed Oct 19 15:07:28 2011 Starting MySQL servers

111019 15:07:29 mysqld_safe Logging to '/data/mysql_data/error.err'.

111019 15:07:29 mysqld_safe Logging to '/data/mysql_data3307/error.err

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值