启动mysql失败,提示Manager of pid-file quit without updating file.错误
错误信息:File ‘./mysql-bin.index’ not found (Errcode: 13)
删除 /var/lib/mysql 下的 mysql-bin.index文件
然后启动mysql ,OK
有时会发现有些表打不开了
重新授权即可
sudo chown -R mysql var/ sudo chgrp -R mysql var/
启动mysql失败,提示Manager of pid-file quit without updating file.错误
错误信息:File ‘./mysql-bin.index’ not found (Errcode: 13)
删除 /var/lib/mysql 下的 mysql-bin.index文件
然后启动mysql ,OK
有时会发现有些表打不开了
重新授权即可
sudo chown -R mysql var/ sudo chgrp -R mysql var/