今天在centos5.2 64位机器上安装mysql-5.1.32-linux-x86_64-icc-glibc23.tar.gz,启动服务出现报错:
Starting MySQL.Manager of pid-file quit without updating file.[FAILED] 1.注释掉 skip-federated,按此方法操作,无果。 2.关闭selinux,已经关闭了,所以排除。 查看mysql日志,发现错误:
/usr/local/mysql/bin/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory 到官方下载:wget http://mirror.centos.org/centos/5.2/os/x86_64/CentOS/compat-libstdc++-33-3.2.3-61.x86_64.rpm 安装:
rpm -ivh compat-libstdc++-33-3.2.3-61.x86_64.rpm |