首页 > 数据库 > 启动mysql出错:error while loading shared libraries: libstdc++.so.5

启动mysql出错:error while loading shared libraries: libstdc++.so.5

2009年04月02号
查看评论 发表评论 1,617次浏览

如果在启动mysql的时候错误,可以进入mysql的安装目录的data下面查看localhost.localdomain.err错误日志,里面如果有信息:

090301 19:23:16 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
/usr/local/mysql/bin/mysqld: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or d
irectory
090301 19:23:16 mysqld_safe mysqld from pid file /usr/local/mysql/data/localhost.localdomain.pid ended

那样就缺少compat-libstdc++-33.x86_64包,需要下载安装即可! :)

类别数据库 标签
  1. 目前没有评论
  1. 目前没有通告
你必需 登陆 才能发表评论.