Hi there!
I configured and compile Zabbix-1.1beta2 (on OpenBSD 3.7) for work with MySQL.
Started OK (in zabbix_server.log has no errors or warnings).
When i try to open http://localhost/zabbix/, i have errors in httpd error file:
"[error] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) in /zabbix/include/db.inc.php on line 37
[error] PHP Warning: mysql_select_db() [<a href='function.mysql-select-db'>function.mysql-select-db</a>]: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) in /zabbix/include/db.inc.php on line 38
[error] PHP Warning: mysql_select_db() [<a href='function.mysql-select-db'>function.mysql-select-db</a>]: A link to the server could not be established in /zabbix/include/db.inc.php on line 38"
/var/run/mysql/mysql.sock exist.
Whats wrong? Any clues?
Thanks!
I configured and compile Zabbix-1.1beta2 (on OpenBSD 3.7) for work with MySQL.
Started OK (in zabbix_server.log has no errors or warnings).
When i try to open http://localhost/zabbix/, i have errors in httpd error file:
"[error] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) in /zabbix/include/db.inc.php on line 37
[error] PHP Warning: mysql_select_db() [<a href='function.mysql-select-db'>function.mysql-select-db</a>]: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) in /zabbix/include/db.inc.php on line 38
[error] PHP Warning: mysql_select_db() [<a href='function.mysql-select-db'>function.mysql-select-db</a>]: A link to the server could not be established in /zabbix/include/db.inc.php on line 38"
/var/run/mysql/mysql.sock exist.
Whats wrong? Any clues?
Thanks!
Comment