IcingaWeb2 on Ubuntu 20.04 LTS

Hi guys,

im installing Icinga2 and Icingaweb2 on a new Ubuntu 20.04 Server.

When running through the setup of icingaweb2 im getting an error when trying to login to mysql to create the Database for icingaweb users.

Failed to successfully validate the configuration: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

Is there probably already a known problem with icingaweb2 and mysql Ver 8.0.20-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu)).

I changed php7.4 to php7.1 as there are problems since php7.2.
Maybe there is something implemented in the newest mysql version that isnt supported by icingaweb2? referring to “method unknown to the client”

Thanks :wink:

Im sorry, but what am I supposed to do ^^

My bad, Aflatto deleted his post, not I deleted my thread, sorry. I needed a bit to unterstand that.

Yes, he editet/deleted his post. You do not have to do anything with your post.

When using MySQL 8 you need to change your /etc/mysql/my.cnf and add this:

[mysqld]

default_authentication_plugin= mysql_native_password