我也遇到了同样的问题,可能是因为你的源代码不全造成的.建议用mysql-4.0.21.tar试试

解决方案 »

  1.   

    而且,装完以后,在/usr/local里面也没有MYSQL目录啊
      

  2.   

    估计你是你的文件权限没有设置好吧
    ///
    chown -R mysql var
    ///
    一定要把var的权限设为mysql所以.
      

  3.   

    不行的,我把正确的安装方法给你.
    shell> groupadd mysql
    shell> useradd -g mysql mysql
    shell> gunzip < mysql-VERSION.tar.gz | tar -xvf -
    shell> cd mysql-VERSION
    shell> ./configure --prefix=/usr/local/mysql
    shell> make
    shell> make install
    shell> cp support-files/my-medium.cnf /etc/my.cnf
    shell> cd /usr/local/mysql
    shell> bin/mysql_install_db --user=mysql
    shell> chown -R root  .
    shell> chown -R mysql var   //这一步,你要将目录改到那个含有VAR的目录下面进行设置.
    shell> chgrp -R mysql .
    shell> bin/mysqld_safe --user=mysql &