到mysql下载你认为合适的rpm包(最好还是下载源码包,RPM一般都要下载几个才可以用)
下载到同一个目录下:
rpm -ivh *.rpm
就可以了,之后就是
/usr/local/mysql/sbin/mysqld &
(/usr/local/sbin/mysqld &)
查一下有没有启动吧
netstat -aln|grep 3306http://dev.mysql.com/downloads/mysql/5.0.1-snapshot.html

解决方案 »

  1.   

    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
    shell> chgrp -R mysql .
    shell> bin/mysqld_safe --user=mysql &
    //////////////////////////
    如果需要更加详细的你可以到www.mysql.com上面去看相应的安装手册.