zabbix连接数据库失败(connection to database 'zabbix' failed: [1045] Access denied for user 'root'。。。。。。。)解决方法:
mysql> UPDATE user SET Password=PASSWORD('youpassword') where USER='root' and host='root' or host='localhost';
mysql> FLUSH PRIVILEGES;
重启zabbix
php.ini修改,重启nginx后,不生效原因:
php5.3中要重启php-fpm,单纯的重启nginx不能使php.ini设置生效
ps aux | grep php-fpm
kill -QUIT xxxx
启动:/usr/local/php/sbin/php-fpm
nginx 启动
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf