LNMP0.7添加第二个站点后无法访问Mysql服务器
系统:CentOS 5.7 32bit如题,之前
/home/wwwroot/abc 访问 http://IP/abc 可以访问的。
今天/root/vhost.sh
绑定了 www.xxx.com 到 /home/wwwroot/abc
还有一个 123.xxx.com 到 /home/wwwroot/123
绑定后两个站都开不了,删除 /usr/local/nginx/conf/vhost 下的两个文件 /root/lnmp reload 后,网站还是不能访问。
检查发些mysql 登录不了。。。 不知道是什么错误???
求解!! 谢谢
111112 21:21:12 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
111112 21:21:12 Event Scheduler: Loaded 0 events
111112 21:21:12 /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.54-log'socket: '/tmp/mysql.sock'port: 3306Source distribution
111119 20:33:51 /usr/local/mysql/libexec/mysqld: Normal shutdown
111119 20:33:51 Event Scheduler: Purging the queue. 0 events
111119 20:33:51 /usr/local/mysql/libexec/mysqld: Shutdown complete
111119 20:33:51 mysqld_safe mysqld from pid file /usr/local/mysql/var/209.115.236.1.pid ended
111119 20:33:52 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
/usr/local/mysql/libexec/mysqld: Table 'mysql.plugin' doesn't exist
111119 20:33:52 Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
111119 20:33:52 Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
111119 20:33:52 mysqld_safe mysqld from pid file /usr/local/mysql/var/209.115.236.1.pid ended
111119 20:53:24 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
/usr/local/mysql/libexec/mysqld: Table 'mysql.plugin' doesn't exist
111119 20:53:25 Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
111119 20:53:25 Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
111119 20:53:25 mysqld_safe mysqld from pid file /usr/local/mysql/var/209.115.236.1.pid ended
111119 21:10:04 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
/usr/local/mysql/libexec/mysqld: Table 'mysql.plugin' doesn't exist
111119 21:10:04 Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
111119 21:10:04 Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
111119 21:10:04 mysqld_safe mysqld from pid file /usr/local/mysql/var/209.115.236.1.pid ended
111119 21:25:50 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
/usr/local/mysql/libexec/mysqld: Table 'mysql.plugin' doesn't exist
111119 21:25:50 Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
111119 21:25:50 Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
111119 21:25:50 mysqld_safe mysqld from pid file /usr/local/mysql/var/209.115.236.1.pid ended
mysql没有安装成功或mysql 数据库里面的表丢失 但之前mysql 都是正常的。。。。
只是绑定域名和开通伪静态后才发生这个问题。
不知道应该如何解救?? 重装mysql ?
页:
[1]