'Z3001 connection to database 'zabbix' failed: 1045 Access denied for user 'zabbix'@'localhost'

like the title says, I can´t connect to Database with Zabbix. I´ve added some HP Enterprise Switches a few days ago. I´ve the exact same problem like discribed in this thread Zabbix Server Connection to Database failed (ERROR Z3001 [1045].

but I don´t know how to solve it.

I can log into the database with >mysql -u zabbix -p MyPW

All Credentials in the zabbix_config are the same I use for login.



Solution 1:[1]

Finally, I found the solution.

modify the cachsize in /etc/zabbix/zabbix_server.conf to 1G or 2G, it depends on how much items you have active. After that restart the service zabbix-server.service.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dharman