这是我的mysql版本  mysql-5.0.45-linux-i686.tar.gz
按照很多中安装方法都装不了  即使是该包自己提供的方法步骤  
linux版本 as4  请大家帮帮忙  mysql 安装路径是 /opt/mysql
比如在执行 scripts/mysql_install_db --user=mysql 就报错了 
FATAL ERROR :could find sql file 'mysql_system_tables.sql'  in
support-files or inside /usr/local/mysql

解决方案 »

  1.   

    比如 我用了下面一些方法进行安装
         shell> groupadd mysql
         shell> useradd -g mysql mysql
         shell> cd /usr/local
         shell> gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf -
         shell> ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql
         shell> cd mysql
         shell> scripts/mysql_install_db --user=mysql
         shell> chown -R root  .
         shell> chown -R mysql data
         shell> chgrp -R mysql .
         shell> bin/mysqld_safe --user=mysql &网络上所有的安装方法都试过了  都不能安装
      

  2.   

    你上面下载的不是源代码包吗?源代码的安装方法应该是下面这样才对的
    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> chown -R mysql .
    shell> chgrp -R mysql .
    shell> bin/mysql_install_db --user=mysql
    shell> chown -R root .
    shell> chown -R mysql var
    shell> bin/mysqld_safe --user=mysql &你自己再比照一下上面的方法.