您好,登錄后才能下訂單哦!
給MySQL:
安裝:權限:
chown -R mysql:mysql mysql/
./mysql.server start
Starting MySQL.Logging to '/home/mysql/data/izm5e5xf4ylewnqwanhz1mz.err'.
2018-06-29T05:32:57.435169Z mysqld_safe Directory '/var/lib/mysql' for UNIX socket file don't exists.
The server quit without updating PID file (/home/mysql/data[FAILED]f4ylewnqwanhz1mz.pid).
[root@izm5e5xf4ylewnqwanhz1mz support-files]# mkdir /var/lib/mysql
mkdir /var/lib/mysql
./mysql.server start
Starting MySQL.Logging to '/home/mysql/data/izm5e5xf4ylewnqwanhz1mz.err'.
...The server quit without updating PID file (/home/mysql/d[FAILED]e5xf4ylewnqwanhz1mz.pid).
[root@izm5e5xf4ylewnqwanhz1mz support-files]# chmod 777 /var/lib/mysql
[root@izm5e5xf4ylewnqwanhz1mz support-files]#
解決:
chmod 777 /var/lib/mysql
[root@izm5e5xf4ylewnqwanhz1mz support-files]#
[root@izm5e5xf4ylewnqwanhz1mz support-files]#
[root@izm5e5xf4ylewnqwanhz1mz support-files]#
[root@izm5e5xf4ylewnqwanhz1mz support-files]# ./mysql.server start
Starting MySQL. [ OK ]
[root@izm5e5xf4ylewnqwanhz1mz support-files]#
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。