Ad Widget

Collapse

zabbix (using password: NO)[/home/zabbix/public_html/include/db.inc.php:56

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • william1872
    Junior Member
    • Dec 2009
    • 21

    #1

    zabbix (using password: NO)[/home/zabbix/public_html/include/db.inc.php:56

    Hi,

    I've had a search of the forums and couldn't find any info? I setup Zabbix today at home and all looks good except I get the above error now and again via the web browser?

    Here's a copy of line 56 in the db.inc.php file

    $mysql_server = $DB['SERVER'].( !empty($DB['PORT']) ? ':'.$DB['PORT'] : '');

    if (!$DB['DB']= mysql_pconnect($mysql_server,$DB['USER'],$DB['PASSWORD'])){
    $error = 'Error connecting to database ['.mysql_error().']';
    $result = false;
  • william1872
    Junior Member
    • Dec 2009
    • 21

    #2
    Got it working ok now, added the mysql user password to the zabbix.conf.php file

    Comment

    Working...