![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
Light-dragon
年轻就得拼
展开
-
MySQL日常坑洞之服务器重启后MySQL服务启动失败:Can't create/write to file '/var/run/mysqld/mysqld.pid'
mysql5.7在系统重启后首先尝试登录失败,出以下错误:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'找到mysql.sock文件,将其删除。建议将其改一个名字mv mysql.sock mysql.sock.bak修改完再次进入,还是同样的问题,很坑。...原创 2019-06-02 01:27:33 · 2708 阅读 · 0 评论 -
CentOS7安装MySQL5.7
百度网盘或硬盘中有下载好的rpm安装包,或到官网下载官网地址:https://dev.mysql.com/downloads/mysql/5.7.html#downloads下载好后将下载的文件上传到服务器解压缩先检查是否已默认安装mariadb或mysqlrpm -qa | grep mariadb / mysql如果安装先将其卸载rpm -e ...原创 2019-06-18 16:56:51 · 143 阅读 · 0 评论