Starting MySQL...The server quit without updating PID file [失败]local/mysql/data/localhost.localdomai...

在添加命令自动补全的时候mysql启动失败

这是原配

  1 # For advice on how to change settings please see
  2 # http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
  3 # *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
  4 # *** default location during install, and will be replaced if you
  5 # *** upgrade to a newer version of MySQL.
  6 
  7 [mysqld]
  8 
  9 # Remove leading # and set to the amount of RAM for the most important data
 10 # cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
 11 # innodb_buffer_pool_size = 128M
 12 
 13 # Remove leading # to turn on a very important data integrity option: logging
 14 # changes to the binary log between backups.
 15 # log_bin
 16 
 17 # These are commonly set, remove the # and set as required.
 18 # basedir = .....
 19 # datadir = .....
 20 # port = .....
 21 # server_id = .....
 22 # socket = .....
 23 
 24 # Remove leading # to set options mainly useful for reporting servers.
 25 # The server defaults are faster for transactions and fast SELECTs.
 26 # Adjust sizes as needed, experiment to find the optimal values.
 27 # join_buffer_size = 128M
 28 # sort_buffer_size = 2M
 29 # read_rnd_buffer_size = 2M
 30 
 31 
 32 sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
 33 
View Code

就是什么都注释掉了, 后来加上一行

auto-rehash

启动报错

QQ截图20170724164228

这是什么问题, 百度谷歌人家都能用这个配置, 我这里就不行..., 求解决

转载于:https://www.cnblogs.com/chenglee/p/7230016.html

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值