1

我在centos分布式和cPanel/WHM控制面板下的linux环境下运行mysql

我跟踪mysql日志,我得到了

130914  6:49:08 [Note] Plugin 'FEDERATED' is disabled.
130914  6:49:08 [ERROR] No paths allowed for shared library
130914  6:49:08 [Warning] Couldn't load plugin named '68' with soname 'افص�حات افإضا�ٍة فكلتدٍات اف�ٍ بٍ'.
130914  6:49:08 [ERROR] Can't open shared library '/usr/lib64/mysql/plugin/Cybernetec's Hacks Template Group' (errno: 0 cannot open shared object file: No such file or directory)
130914  6:49:08 [Warning] Couldn't load plugin named '487' with soname 'Cybernetec's Hacks Template Group'.
130914  6:49:08 [ERROR] Can't open shared library '/usr/lib64/mysql/plugin/Cyb - ChatBox - CT' (errno: 0 cannot open shared object file: No such file or directory)
130914  6:49:08 [Warning] Couldn't load plugin named '488' with soname 'Cyb - ChatBox - CT'.
130914  6:49:08 [ERROR] Can't open shared library '/usr/lib64/mysql/plugin/Cyb - ChatBox - IL' (errno: 0 cannot open shared object file: No such file or directory)
130914  6:49:08 [Warning] Couldn't load plugin named '489' with soname 'Cyb - ChatBox - IL'.
130914  6:49:08 [ERROR] Can't open shared library '/usr/lib64/mysql/plugin/[you]' (errno: 0 cannot open shared object file: No such file or directory)
130914  6:49:08 [Warning] Couldn't load plugin named '93' with soname '[you]'.
130914  6:49:08 [ERROR] No paths allowed for shared library
130914  6:49:08 [Warning] Couldn't load plugin named '117' with soname 'افإستبداف افآفٍ'.

我可以使用跳过授权表选项启动 mysql

/etc/init.d/mysql start --skip-grant-tables
4

2 回答 2

1

问题是mysql数据库被其他表覆盖

我删除了路径/var/lib/mysql/中的mysql文件夹

我通过运行命令删除了 rpm mysql 文件

# rpm -qa | grep -i mysql  > /mysql.txt

# for i in `cat /mysql.txt`;do rpm -e $i;done

然后我跑

/scripts/upcp

再次构建mysql

我的 mysql 重新启动并运行

于 2013-09-14T14:57:10.887 回答
0

您的 Mysql 配置似乎状况不佳。

1-检查配置文件中是否有以.my.cnf开头的奇怪行 'plugin-load'此类行应如下所示:(应仅包含对 .so 文件的引用)

plugin-load=myplugin=somepluglib.so

2-或者你有一个损坏的'mysql.plugin'表(或者可能是一个文件系统损坏......希望你有备份......)

于 2013-09-14T12:42:38.660 回答