Ad Widget

Collapse

Database Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • IRISHDADBOD
    Junior Member
    • Sep 2022
    • 2

    #1

    Database Error

    Hey Folks,
    I am getting an error when attempting to log into the Zabbix webgui.
    Server is localhost, user & password is specified in zabbix_server.conf and zabbix.conf.php
    I have only just built this, so if I need to rebuild from scratch I can, but would prefer a way to fix it.
    I was always getting this error, but I was also getting the option to login again. Now it is gone.
    Any help is appreciated.
    And yes, in case you haven't already guessed, I am a newbie to it.

    Click image for larger version

Name:	image.png
Views:	118
Size:	26.5 KB
ID:	450998
  • Bartosz Mickiewicz
    Junior Member
    • Oct 2022
    • 27

    #2
    Hi, looks like a privilege problem.
    Can you log in to MySQL using the user and password from the config files? Are those credentials the same?
    If no, then you should grant privileges like this:
    mysql> create user zabbix@localhost identified by 'password';
    mysql> grant all privileges on zabbix.* to zabbix@localhost;​

    Comment

    Working...