Hello,
I'm trying to install zabbix 6.2 + mysql on ubuntu 22.04 LTS.
I've created database called "zabbix", as well as mysql user "zabbix" with custom password.
When i log to the myaql with user zabbix, i can see database "zabbix", as well as tables inside it. So database is there, user is there, password is correct as i'm entering mysql with it. But when trying over the frontend webpage to set up zabbix, it says that it can't connect to the database.
One more thing, i believe maybe initial schema did not worked correctlty, as i get this error:
zcat /usr/share/doc/zabbix-sql-scripts/mysql/server.sql.gz | mysql -uzabbix -p
Enter password:
ERROR 1046 (3D000) at line 1: No database selected
Any ideas how to solve it?
Thank you./

I'm trying to install zabbix 6.2 + mysql on ubuntu 22.04 LTS.
I've created database called "zabbix", as well as mysql user "zabbix" with custom password.
When i log to the myaql with user zabbix, i can see database "zabbix", as well as tables inside it. So database is there, user is there, password is correct as i'm entering mysql with it. But when trying over the frontend webpage to set up zabbix, it says that it can't connect to the database.
One more thing, i believe maybe initial schema did not worked correctlty, as i get this error:
zcat /usr/share/doc/zabbix-sql-scripts/mysql/server.sql.gz | mysql -uzabbix -p
Enter password:
ERROR 1046 (3D000) at line 1: No database selected
Any ideas how to solve it?
Thank you./

my fault, my fault.
Comment