安装mysql5.1.46版本:
运行至: scripts/mysql_install_db –user=mysql
报错:
Neither host 'user-desktop' 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 optionmysql下data和test目录的权限都是777哪位大侠救命....

解决方案 »

  1.   

    是源碼編譯安裝的么?貼出./configure內容
      

  2.   

    是源代码编译的...  在以前的版本都有这个 但是我这个没有看到在解压文件目录下面 版本是:mysql-5.1.46-linux-i686-glibc23.tar.gz
    估计你也是没遇见过把
      

  3.   

    scripts/mysql_install_db –user=mysql 少了條橫杠, 應該是--user=mysql嘛,我也不知道是不是這個原因
    試一試或許能意外都解決問題.