标签:启动报错 pid sock blank ESS tps pass dir erro
下边连接:https://www.cnblogs.com/zero-gg/p/8875598.html,大神的结晶啊,我就悄悄的留下来自己用,链接缺少的部分补充下:
1.包的下载方法:wget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.17-linux-glibc2.5-x86_64.tar.gz
2.以下是报错:
(1)启动报错:
[root@localhost mysql]# service mysqld start Starting MySQL.Logging to ‘/usr/local/mysql/data/localhost.localdomain.err‘. 2019-01-11T15:41:22.170582Z mysqld_safe Directory ‘/var/lib/mysql‘ for UNIX socket file don‘t exists. ERROR! The server quit without updating PID file (/usr/local/mysql/data/localhost.localdomain.pid)
修复方法:
目录不存在,创建这个目录,并且将目录赋予给mysql用户
mkdir /var/lib/mysql
chown -R mysql /var/lib/mysql
然后再启动
(2)报错:-bash: mysql: command not found
修复:https://blog.csdn.net/myroncham/article/details/82892973
(3)报错:ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: YES)
修复:https://blog.csdn.net/vv19910825/article/details/82979563
linux 最大mysql mysql-5.7.17-linux-glibc2.5-x86_64.tar.gz
标签:启动报错 pid sock blank ESS tps pass dir erro
原文地址:https://www.cnblogs.com/workharder/p/11332106.html