|
本人在linux ad3。0下面要启动mysql。提示:ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
去了mysql的网站,查了一些相关的信息后,依然找不到解决的方法。
结果我就突发奇想,从新安装了个mysql。
可是当我configure的时候,它出现了这个提示:
./configure
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.
Neither host 'vincent' and 'localhost' could not be looked up with
./bin/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
弄来弄去,找到原因,可是解决不了,大家帮忙想一想解决一下。
我已经试过了在hosts,network里面修改了hostname也是不行
打了hostname vion800显示我的主机名是vion800了,可是一configure也是不行!
救命啊~~~ |
|