DBUser without password doesn't works. Zabbix unable to start

XMLWordPrintable

    • Type: Incident report
    • Resolution: Cannot Reproduce
    • Priority: Critical
    • None
    • Affects Version/s: 2.0.8
    • Component/s: Server (S)
    • None

      I have the following configuration:

      
      # Generated by chef.
      
      ############ GENERAL PARAMETERS #################
      
      LogFile=/var/log/zabbix/zabbix_server.log
      
      DBHost=localhost
      DBName=zabbix
      DBUser=zabbix
      DBPassword=
      
      DBPort=3306
      
      DebugLevel=4
      PidFile=/var/run/zabbix/zabbix_server.pid
      Include=/opt/zabbix/server_include
      AlertScriptsPath=/opt/zabbix/AlertScriptsPath
      
      HousekeepingFrequency=1
      MaxHousekeeperDelete=100000
      
      JavaGateway=127.0.0.1
      JavaGatewayPort=10052
      StartJavaPollers=0
      
      ExternalScripts=/usr/local/scripts/zabbix/externalscripts/
      

      Zabbix server fails to start with the following:

      26996:20130902:134439.125 [Z3001] connection to database 'zabbix' failed: [1044] Access denied for user ''@'localhost' to database 'zabbix'
      26996:20130902:134439.125 Cannot connect to the database. Exiting...
      

      Tried comment out DBPassword - didn't help.
      When using password - all seems ok.

            Assignee:
            Unassigned
            Reporter:
            Yauhen Artsiukhou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: