MYSQL無法啟動 - BBS
By Tom
at 2007-06-21T20:36
at 2007-06-21T20:36
Table of Contents
※ 引述《killzane (Jin)》之銘言:
: --------------
: 用大大說的指令輸入以後
: 出現
: touch: /var/db/mysql/jin.phy.ncu.edu.tw.err: Permission denied
: chown: /var/db/mysql/jin.phy.ncu.edu.tw.err: Permission denied
: /usr/local/bin/mysqld_safe: cannot create
: /var/db/mysql/jin.phy.ncu.edu.tw.err:
: Permission denied
: rm: /var/db/mysql/jin.phy.ncu.edu.tw.pid: Permission denied
: eval: cannot create /var/db/mysql/jin.phy.ncu.edu.tw.err: Permission denied
: tee: /var/db/mysql/jin.phy.ncu.edu.tw.err: Permission denied
: tee: /var/db/mysql/jin.phy.ncu.edu.tw.err: Permission denied
: 似乎啟動失敗...
用 port 安裝的 MySQL 新增的 /var/db/mysql 權限不曉得為什麼常常設成給 root,
導致 mysql 無法寫入,所以無法啟動,
檢查/var/db/mysql 看看 user 跟 group是不是被設成 root 吧,
是的話改成 mysql:mysql 就好了。
--
Peace is a lie; there is only passion.
Through passion, I gain strength.
Through strength, I gain power.
Through power, I gain victory.
Through victory, my chains are broken.
The Force shall free me.
--
: --------------
: 用大大說的指令輸入以後
: 出現
: touch: /var/db/mysql/jin.phy.ncu.edu.tw.err: Permission denied
: chown: /var/db/mysql/jin.phy.ncu.edu.tw.err: Permission denied
: /usr/local/bin/mysqld_safe: cannot create
: /var/db/mysql/jin.phy.ncu.edu.tw.err:
: Permission denied
: rm: /var/db/mysql/jin.phy.ncu.edu.tw.pid: Permission denied
: eval: cannot create /var/db/mysql/jin.phy.ncu.edu.tw.err: Permission denied
: tee: /var/db/mysql/jin.phy.ncu.edu.tw.err: Permission denied
: tee: /var/db/mysql/jin.phy.ncu.edu.tw.err: Permission denied
: 似乎啟動失敗...
用 port 安裝的 MySQL 新增的 /var/db/mysql 權限不曉得為什麼常常設成給 root,
導致 mysql 無法寫入,所以無法啟動,
檢查/var/db/mysql 看看 user 跟 group是不是被設成 root 吧,
是的話改成 mysql:mysql 就好了。
--
Peace is a lie; there is only passion.
Through passion, I gain strength.
Through strength, I gain power.
Through power, I gain victory.
Through victory, my chains are broken.
The Force shall free me.
--
Tags:
BBS
All Comments
Related Posts
MYSQL無法啟動
By Skylar Davis
at 2007-06-21T19:39
at 2007-06-21T19:39
MYSQL無法啟動
By Joseph
at 2007-06-21T19:32
at 2007-06-21T19:32
ghost FreeBSD系統碟,大-->小
By Margaret
at 2007-06-21T10:21
at 2007-06-21T10:21
boot 開機停住
By Emily
at 2007-06-21T00:43
at 2007-06-21T00:43
ghost FreeBSD系統碟,大-->小
By John
at 2007-06-20T21:13
at 2007-06-20T21:13