Can't start server : Bind on unix socket: Permissi
时间:2010-08-01 来源:shawn53
1:
[root@localhost mysql]# scripts/mysql_install_db
Neither host 'localhost.localdomain' nor 'localhost' could be looked up with
/resolveip
Please configure the 'hostname' command to return a correct
hostname.
If you want to solve this at a later stage, restart this script
with the --force option
原因:需要修改/etc/hosts这个文件: solution:echo“127.0.0.1 localhost.localdomain localhost“>>/etc/host.
2: 071129 13:38:08 [ERROR] Can't find messagefile '/usr/local/mysql/share/english/errmsg.sys' 071129 13:38:08 [ERROR] Aborting 这是5.1.22版本以前的版本中的一个bug 遇到这个问题,可以尝试这么做, [root@localhost mysql]# ln -s /usr/local/mysql/share/mysql/english/ /usr/local/mysql/share/english [root@localhost mysql]#scripts/mysql_install_db --force 3: chown -R mysql . chgrp -R mysql . 这样也可以解决第一个错误。 4: [root@localhost bin]# mysql -uroot -p
提示not the command之类的错误,
export PATH=$PATH:/usr/local/mysql/bin
就可以解决这类问题。
Neither host 'localhost.localdomain' nor 'localhost' could be looked up with
/resolveip
Please configure the 'hostname' command to return a correct
hostname.
If you want to solve this at a later stage, restart this script
with the --force option
原因:需要修改/etc/hosts这个文件: solution:echo“127.0.0.1 localhost.localdomain localhost“>>/etc/host.
2: 071129 13:38:08 [ERROR] Can't find messagefile '/usr/local/mysql/share/english/errmsg.sys' 071129 13:38:08 [ERROR] Aborting 这是5.1.22版本以前的版本中的一个bug 遇到这个问题,可以尝试这么做, [root@localhost mysql]# ln -s /usr/local/mysql/share/mysql/english/ /usr/local/mysql/share/english [root@localhost mysql]#scripts/mysql_install_db --force 3: chown -R mysql . chgrp -R mysql . 这样也可以解决第一个错误。 4: [root@localhost bin]# mysql -uroot -p
提示not the command之类的错误,
export PATH=$PATH:/usr/local/mysql/bin
就可以解决这类问题。
相关阅读 更多 +