PDA

View Full Version : mysql problems


sinda
04-05-2005, 19:29
hello,
zabbix V1.0 is installed on my machine and works correctly without any problems.
however , sometimes i get message error from mysql
"/var/www/html/zabbix/php/include/db.inc.php' " error while connecting to the database'
the problem is temporary resolved when i restarted the system.
any one know the source of this problem. i want to understand .
thank you for your help

cooper
04-05-2005, 20:24
sinda,
db.inc.php has all of the connection info for you mysql server: host, port, db, user, password. It also handles setting up the connection to the database. Its just telling you that it cant connect. This could be a host, user, password, or other issue. In your case, since it works for a while after a reboot, you should probably check you mysql server. /var/log/mysql/ should be helpful. Something might be causing it to crash or lock up and not accept connections. However, still check your db.inc.php for typos.

hth,

cooper