我启动MYSQL时候,为什么总是出现:
Initializing MySQL database: Neither host 'xxx' nor 'localhost' could be looked up with
/usr/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
在网上找了很多办法,都说是改/etc/hosts这个文件,可是我改了还是一样
Initializing MySQL database: Neither host 'xxx' nor 'localhost' could be looked up with
/usr/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
在网上找了很多办法,都说是改/etc/hosts这个文件,可是我改了还是一样
解决方案 »
- mysql 无法访问数据库服务器1045
- 打开phpmyadmin时出错。(我装的是easyPhp)
- 一条慢查询sql如何优化(mysql)
- 怎样固定形式导出数据
- 求一条SQL语句!块急死了!
- 我把本地计算机中的数据库备份出来,然后想在另一台计算机上把它还原进去,不过,前后两台计算机的机器名不一样,这会影响备份文件的导入吗?
- MYSQL数据导换出了大问题!急,在线等!
- 为什么我从blob子段中取出的值总是不大于64K,我为什么找不到大家说的与mysql相关的.ini文件
- 在两个表内查询数据的问题,求救啊!!
- VC 2005 + mysql 数据操作时异常,请大侠指教!!!!!
- MySQL死活插不进这个中文字:焗
- 在mysql中如何用获取表和字段的备注信息?
就在配置文件里面加入如下内容:
[mysqld]
skip-name-resolve重新启动。
我的是选用--force执行的,结果为OK