使用MySQL-server-5.1.53-1.glibc23.i386.rpm、MySQL-client-5.1.53-1.glibc23.i386.rpm、MySQL-devel-5.1.53-1.glibc23.i386.rpm、MySQL-shared-5.1.53-1.glibc23.i386.rpm安装,步骤:
rpm -ivh MySQL-server-5.1.53-1.glibc23.i386.rpm
安装提示如下:Preparing...                ########################################### [100%]
ls: 无法访问/var/lib/mysql/*.err: 没有那个文件或目录
ls: 无法访问/var/lib/mysql/*.err: 没有那个文件或目录
   1:MySQL-server           ########################################### [100%]PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h huguohu password 'new-password'Alternatively you can run:
/usr/bin/mysql_secure_installationwhich will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.See the manual for more instructions.Please report any problems with the /usr/bin/mysqlbug script!
然后装client:# rpm -ivh MySQL-client-5.1.53-1.glibc23.i386.rpm
安装提示如下:Preparing...                ########################################### [100%]
   1:MySQL-client           ########################################### [100%]
error: unpacking of archive failed on file /usr/bin/mysqlbinlog;4d037281: cpio: read failed - 错误的文件描述符
我使用的是fedora 14,安装server后使用# netstat -nat查看也看不到3306的端口,在/var/log/目录下面没看到mysqld.log文件。一直安装不上去,我是mysql菜鸟还请各位大侠帮忙啊!

解决方案 »

  1.   

    你用的那个用户安装的?/var/有权限吗?
      

  2.   

    我使用的都是root用户安装的啊
      

  3.   

    我就是用root用户安装的啊。不知道是什么原因。
      

  4.   

    fedora都有14了啊fedora下可以直接yum啊,这个多省事,你试一下,说不定是你的安装包有点问题,yum可以替你解决
      

  5.   

    我就是不想用yum install啊,因为我主要目的是在另外龙芯的电脑(系统是debian,这个电脑是没有联网的)上装mysql。网上没看到mysql针对debian的包,所以我下载了mysql-5.1.53.tar.gz,现在正在编译呢。
      

  6.   

    源码安装请看http://blog.csdn.net/ldb2741/archive/2010/08/20/5827571.aspx还不行可以问我
      

  7.   


    网上的YUM安装的版本还保留在5.0.77,不能下载到最新的版本。
      

  8.   

    权限不对!最简单位的方法是,在安装系统的时候就直接选中mysql