linux mysql数据库安装失败 菜鸟求解

[root@iZb71rcowjz9blZ mysql]# rpm -ivh MySQL-server-5.5.49-1.linux2.6.i386.rpm
warning: MySQL-server-5.5.49-1.linux2.6.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
libaio.so.1 is needed by MySQL-server-5.5.49-1.linux2.6.i386
libaio.so.1(LIBAIO_0.1) is needed by MySQL-server-5.5.49-1.linux2.6.i386
libaio.so.1(LIBAIO_0.4) is needed by MySQL-server-5.5.49-1.linux2.6.i386
[root@iZb71rcowjz9blZ mysql]# rpm -ivh MySQL-server-5.5.49-1.linux2.6.i386.rpm --force --nodeps
warning: MySQL-server-5.5.49-1.linux2.6.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing... ################################# [100%]
libgcc_s.so.1 must be installed for pthread_cancel to work
libgcc_s.so.1 must be installed for pthread_cancel to work
libgcc_s.so.1 must be installed for pthread_cancel to work
Giving mysqld 5 seconds to exit nicely
Updating / installing...
1:MySQL-server-5.5.49-1.linux2.6 ################################# [100%]
libgcc_s.so.1 must be installed for pthread_cancel to work
[root@iZb71rcowjz9blZ mysql]#

跪求大佬指点

4个回答

可能是MySQL以来关系没解决
rpm命令仅安装指定工具包
你可以使用yum命令安装mysql,
yum安装工具包会自动解决依赖关系
个人拙见---仅供参考

sudo yum install mysql-client mysql-server

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问