安装mysql出现Couldn't find MySQL server (/usr/bin/mysqld_safe)
Starting MySQL ERROR! Couldn't find MySQL server (/data/mysql/bin/mysqld_safe)
说的很明白,找不到mysql server了,于是赶紧的查看my.cnf配置,发现里面少一项basedir,
找到mysql安装位置,添加如下:
[mysqld]
############# 添加下面这一条配置###########
basedir=/usr/local/mysql
出现另一种错误:
Starting MySQL.Logging to '/usr/local/mysql/data/master.err'.
ERROR! The server quit without updating PID file (/usr/local/mysql/data/master.pid).
可能是之前的版本没有删除完全,删除完全,解决问题。

 

相关文章:

  • 2021-11-05
  • 2021-06-02
  • 2021-09-17
  • 2021-04-15
  • 2022-12-23
  • 2022-12-23
  • 2021-10-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
  • 2022-01-04
  • 2022-12-23
相关资源
相似解决方案