Ad Widget

Collapse

Mysql DB password not transmitted by Zabbix Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jolypas
    Junior Member
    • Aug 2015
    • 15

    #1

    Mysql DB password not transmitted by Zabbix Server

    Hello

    I upgraded from 3.2 to 3.4 and I have the following issue :

    connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)

    I checked in zabbix_server.conf and zabbix.conf.php, the DBPassword is well set.
    I checked mysql acess for zabbix and this password , it is OK

    a new conf somewhere in 3.4 for DB password ?

    Thanks
  • kaspars.mednis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2017
    • 349

    #2
    Hi !

    Nothing has changed in zabbix 3.4.4 regarding DB pasword

    Are you sure it is not commented out in config file with # symbol ?
    I can get answer in log (using password: NO) by commenting out DB password in 3.4.4 server config file.

    Regards,
    Kaspars

    Comment

    • jolypas
      Junior Member
      • Aug 2015
      • 15

      #3
      Thanks for the answer

      In fact zabbix-server was not starting at all and no logs were generated (I was looking older logs for this DB password issue)

      A parameter set in 3.2 is no more valid in 3.4 so the server cannot start but nothing into the logs in this case.

      I found that by deleting the logs and started the server binary manually in a console (not as a service). In this case the wrong parameter in the configuration file is displayed.

      It is strange that this output is not written into the log file in this case.

      Regards

      Comment

      Working...