linux 下安装mysql报错 雪地跪等大神啊
[root@localhost pub]# rpm -ivh MySQL-server-5.5.23-1.linux2.6.i386.rpm
Preparing... ########################################### [100%]
Giving mysqld 5 seconds to exit nicely
1:MySQL-server ########################################### [100%]
error: unpacking of archive failed on file /usr/bin/my_print_defaults;51a6ec80: cpio: read
这咋办????
------解决方案--------------------应指定安装路径,数据存放路径
scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data
------解决方案--------------------安装包坏了,你用yum安装:
um install mysql-server
------解决方案--------------------yum install mysql-server
------解决方案-------------------- rpm 包坏了吧?重新下载一个安装试试