6.오류 로그 목록 존재하지 않습니다해결 방법: 'chown "" chmod' 명령을 mysql 소유자 및 권한 부여 7.selinux똥까지, 만약 centos 시스템 기본값으로 켜져 selinux 것이다해결 방법: 닫기 열/etc/selinux/config, 把SELINUX=enforcing改为SELINUX=disabled后存盘退出重启机器试试.
So possible solutions are, first up try a straight restart: [email protected][/usr/local/mysql/data]: sudo /usr/local/mysql/support-files/mysql.server start Starting My SQL . The server quit without updating PID file (/usr/local/mysql/data/neils-i Mac.local.pid).
If SElinux is the problem, then you should monitor and make it work (check: My SQL 5.6 and SELinux are arguing) You can also disable it permanently at /etc/sysconfig/selinux changing enforcing to either permissive or disabled.
/etc/pki/tls//home/monty/./opt/rightscale/sandbox//root/./usr/share/doc/My SQL-server-5.6.10//usr/share/mysql//var/lib/mysql/In Cent OS you need to copy /usr/share/doc/My SQL-server-5.6.10/to /etc/and you have to make changes in as per your server configuration,after every changes in to get reflect you need to restart you mysql server.
It seems you have issue with you permission on mysql datadir.
Run below command [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/user=mysql # Disabling symbolic-links is recommended to prevent assorted security risks symbolic-links=0 [mysqld_safe] log-error=/var/log/pid-file=/var/run/mysqld/), that it is the actual one that mysql is using when it runs, and that it has the correct configuration for the installation you created.