安装mysql时出错。无法初始化。 libstdc++.so.5
./bin/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or dire
可以看出缺少库文件 libstdc++.so.5。
到官方下载:wget http://mirror.centos.org/centos/ ... 3-69.el6.x86_64.rpm
安装:rpm -ivh compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm
再重新启动MYSQL服务,启动OK.