MySQL5.6安装完数据库后无法开启服务
[root@222 ~]# service mysql start
Starting MySQL (Percona Server)............The server quit without updating PID file (/my/log/mysql.pid).[失败]
[root@222 ~]# /etc/init.d/iptables stop
[root@222 ~]# /etc/init.d/iptables statusiptables:未运行防火墙。
[root@222 ~]# getenforce
Enforcing
[root@222 ~]# vi /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX= disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
此配置文件只能重启生效;如需立即生效可以执行命令:setenforce 0