linux中mysql启动时遇到MySql server PID file cound not be found
linux安装mysql时遇到MySql server PID file cound not be found!报错,如下图
由上图可见mysql,当我执行启动mysql服务时,显示mysql启动成功,可是当我查看mysql服务启动情况时,却是报错:MySql server PID file cound not be found!
启动mysql服务命令:service mysql start
查看mysql服务启动情况命令:systemctl status mysql
首先我是查看了pid file 配置文件的路径下是否有该文件,没有的话需要配置及赋予权限
查看mysql配置命令:cat /etc/my.cnf
核对完之后我发现还是报错,后来查阅了很多资料,发现是由于selinux惹的祸,如果是centos系统,默认会开启selinux
解决方法:关闭它,打开/etc/selinux/config,把SELINUX=enforcing改为SELINUX=disabled后存盘退出重启机器试试。
重启之后再启动mysql,查看mysql服务启动情况可以发现已经没有问题了:
补充:linux安装mysql可以参考:linux安装mysql
mysql pid file could not be found! 问题可以参考:MySQL server PID file could not be found! 问题
linux中mysql启动时遇到MySql server PID file cound not be found相关推荐
- 关于mysql启动问题---mysqld_safe mysqld from pid file * ended
我先说一下我安装mysql的操作吧: 1.开始的时候,安装mysql,是那种解压缩就能用的软件包.我把它解压后,拷贝到/usr/local/ 目录下,并把名字命名为mysql. 2.建立用户mysql ...
- 解决Linux下MySQL启动错误Starting MySQL.Manager of pid-file quit without updating file.[FAILED]...
刚装完MySQL,启动时报如下错误: Starting MySQL.Manager of pid-file quit without updating file.[FAILED] 解决Linux下My ...
- mysql手动启动1067错误_解决MySQL启动时万恶的1067错误(转)
解决MySQL启动时万恶的1067错误(转)[@more@]我的机器不知为何,安装MySQL的时候,一到配置那一步就无休止的等待,只好结束任务,然而启动MySQL的时候出现1067错误提示.卸载,依然 ...
- mysql 服务器安全狗_服务器卸载安全狗后,数据库无法连接,点击启动时提示mysql无法启动1069...
服务器卸载安全狗后,数据库无法连接,点击启动时提示mysql无法启动1069 前些天装了服务器安全狗后,发现网速反而变慢了,影响体验,并且相应的服务器都变慢了, 只有把安全狗软件删了,可以问题来了,删 ...
- mysql pid not found,mysql 启动错误-server PID file could not be found 的解决办法
centos下 [root@centos var]# service mysqld stopMySQL manager or server PID file could not be found! [ ...
- mysql 启动错误-server PID file could not be found
2019独角兽企业重金招聘Python工程师标准>>> [root@centos var]# service mysqld stop MySQL manager or server ...
- MySQL启动异常Starting MySQL.The server quit without .
2019独角兽企业重金招聘Python工程师标准>>> MySQL启动异常 Starting MySQL..The server quit without updating PID ...
- mysql 启动报错-server PID file could not be found
[root@yunhe ~]# service mysql stop MySQL server PID file could not be found! [失败] 解 ...
- MySQL server PID file could not be found!
重启mysql提示MySQL server PID file could not be found! Starting MySQL...The server quit without updating ...
- MySQL server PID file could not be found! 解决办法 (李作强)
MySQL server PID file could not be found! 解决办法 1.可能是/usr/local/mysql/data/rekfan.pid文件没有写的权限 解决方法 :给 ...
最新文章
- 你陪我长大 我陪你变老
- 福利内卷时代来临!腾讯为 3300 名员工发 11 亿红包
- linux运维基础2
- 标准模板库(STL)学习指南之List链表
- 【Nignx】 nginx启动http服务,报错 curl: (56) Recv failure: Connection reset by peer
- 六十三、Vue中非父子(兄弟)组件间传值,插槽的使用和作用域插槽(非常重要)
- MyBatis的框架架构设计是怎么样的?
- (三)MySQL入门,看我就够了!!!
- aws sqs_在Spring中将AWS SQS用作JMS提供程序
- PHP ajax 传递中文乱码,ajax+php传递中文乱码解决办法
- 阿里面试官给你的一些忠告,这样做肯定错不了!附视频
- java IO流的一些操作方法
- Zookeeper之事件监听机制
- b站弹幕姬python_自用 Bilibili 弹幕姬 for macOS
- 一位计算机牛人的心得,谈计算机和数学
- leet-code Z 字形变换详解
- Photoshop文字之——制作写在宣纸上的水彩字特效
- dreamweaver如何连接mysql_Dreamweaver连接数据库教程(ASP类)
- 嵌入式软件工程师—成长笔记#03
- 巧用url 让seo做起来更轻松