Ad Widget

Collapse

mysql problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sinda
    Member
    • Apr 2005
    • 33

    #1

    mysql problems

    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
    Senior Member
    • Sep 2004
    • 110

    #2
    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

    Comment

    Working...