CentOS7 / Debian12 安装 MySQL 8.x

创建日期:2019/02/15   修改日期:2024/02/23   Linux   MySQL

28

全部评论
  • 小李广-花荣2020/12/18 10:23:12

    /etc/init.d/mysql57.server: line 239: my_print_defaults: command not found /etc/init.d/mysql57.server: line 259: cd: /usr/local/mysql: No such file or directory Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)

  • 管理员 回复 小李广-花荣2020/12/18 14:11:25

    应该是/etc/init.d/mysql57.server这个没添加如下设置 basedir=/usr/local/mysql57 datadir=/usr/local/mysql57/data