Jump to content
Froxlor Forum
  • 0

Mysql8 Nach Wechsel auf php-fpm7.3 (voher 7.4) kein Backend Login möglich - requested authentication method unknown


j4mb4l4j4

Question

Hi ich habe heute Froxlor auf Ubuntu 18.04 mit Mysql8 und PHP-FPM7.4 erfolgreich konfiguriert.

Da ich mal auf PHP-FPM7.3 wechseln wollte habe ich 7.3 installiert und im Backend umgestellt.

Jetzt bekomme ich allerdings folgende Fehlermeldung wenn ich in das Admin Panel möchte (siehe Bild Anhang):

 

" SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client "

Ich vermute es liegt daran das ich nicht "mysql_native_password" genommen habe sondern die neue Variante.

Nur warum tritt der Fehler erst jetzt auf wo ich auf php7.3 gewechselt habe ?

Habt ihr eine Idee wie ich wieder auf 7.4 wechseln kann oder das Problem allgemein beseitigen kann ?

froxlor-db-auth-php7-3.png

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Ok habe das Problem jetzt so gelöst das ich folgendes in der DB gemacht habe:

ALTER USER 'froxlor'@'127.0.0.1' IDENTIFIED WITH mysql_native_password BY 'password';
ALTER USER 'froxlor'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
ALTER USER 'froxlor'@'207.180.217.77' IDENTIFIED WITH mysql_native_password BY 'password';

Dennoch interessant. Ob das mit der PHP Version zu tun hat ?

Sollte man im Moment vllt erstmal auf "mysql_native_password" bleiben statt auf "caching_sha2_password" ?

Bis alle Applikationen nachgezogen haben. Denke da auch an Wordpress, Nextcloud, Shopware etc...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...