使用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菜鸟还请各位大侠帮忙啊!
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菜鸟还请各位大侠帮忙啊!
网上的YUM安装的版本还保留在5.0.77,不能下载到最新的版本。