I was not clear in my last post. I have now tried this on 2 machines. I took the time to deploy the app on two systems with the same results.
Basically, the logon fails. I suspect you are not getting a result array (or whatever) and your code does not expect this and therefore does not handle the failed login.
Here is a clue.
MySQL 8.0.4 has changed a default authentication method to caching_sha2_password which is not supported by PHP (at the time of writing). For MySQL 8 it should be changed to mysql_native_password method.
I cannot change this setting - MySQL Workbench does not allow it. I will see if I can find another way around this tomorrow.
Tired and should have gone to bed a while ago. Soon, the sun will be coming up.
Hi,
This has nothing to do with PHP.
It is just an internal way to store password in MySql.
So it is just the way you defined password for your mysql user that has to use correct method
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Cookies settings
×
Functional Cookies
Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.
Session
Please login to see yours activities!
Other cookies
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.