码迷,mamicode.com
首页 > 数据库 > 详细

linux 最大mysql mysql-5.7.17-linux-glibc2.5-x86_64.tar.gz

时间:2019-08-10 17:19:45      阅读:327      评论:0      收藏:0      [点我收藏+]

标签:启动报错   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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!