首页 » 互联网资讯 » 正文

lnmp出现500错误。自己找不到原因了

/etc/init.d/mysql restart
MySQL manager or server PID file could not be found! … failed!
Starting MySQL
Couldn’t find MySQL manager (/usr/bin/mysqlmanager) or server (/usr/bin/mysqld_safe) … failed!

之前删除了金庸的几个open函数,以及下载了sendmail并安装了。。。。。重启后就是这么个情况。。。打开网站是500

打开discuz是下面代码:
Discuz! Database Error(2002) notconnect
PHP Debug

No. File Line Code
1 forum.php 49 discuz_application->init()
2 source/class/discuz/discuz_application.php 65 discuz_application->_init_db()
3 source/class/discuz/discuz_application.php 373 discuz_database::init(%s, Array)
4 source/class/discuz/discuz_database.php 23 db_driver_mysql->connect()
5 source/class/db/db_driver_mysql.php 74 db_driver_mysql->_dbconnect(%s, %s, %s, %s, %s, %s)
6 source/class/db/db_driver_mysql.php 87 db_driver_mysql->halt(%s, %d)
7 source/class/db/db_driver_mysql.php 218 break()

查找网上的教程资料无果。。。另外。。确实没找到MySQL manager (/usr/bin/mysqlmanager) or server (/usr/bin/mysqld_safe)


ln -s /usr/local/mysql/bin/mysqlmanager /usr/bin/
ln -s /usr/local/mysql/bin/mysqld_safe /usr/bin/

500不好说什么原因

kimsufi.com特价机

发表评论