Bonjour,
J'ai voulu modifié la version de mon PHP sur OVH passer à la "stable 64" 7.4 mais cela planté mon site Piwigo.
J'ai essayé de revenir à une configuration précédente de PHP mais j'ai un message d'erreur sur mon site !
Pouvez-vous m'aider SVP ?
Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'delucineicono'@'10.10.20.39' (using password: YES) in /home/delucine/www/iconographie/include/dblayer/functions_mysqli.inc.php on line 52
Warning: my_error(): Couldn't fetch mysqli in /home/delucine/www/iconographie/include/dblayer/functions_mysqli.inc.php on line 856
Warning: my_error(): Couldn't fetch mysqli in /home/delucine/www/iconographie/include/dblayer/functions_mysqli.inc.php on line 856
Piwigo encountered a non recoverable error
[mysql error ]
Can't connect to server
#1 my_error /home/delucine/www/iconographie/include/common.inc.php(113)
#2 include_once /home/delucine/www/iconographie/index.php(11)
Version de Piwigo: 11.5.0
Version de PHP: 7.3
Version de MySQL: 5.6
URL Piwigo: http://delucine.com/iconographie/
Hors ligne
Bonjour
Dans .ovhconfig de votre installation piwigo c'est écrit quoi dedans ?
Si vous avez une .ovhconfig globale ça prend automatiquement ceci
A très vite
Hors ligne
Peut être ça :
The underlying issue is having an unsupported authentication plugin assigned to the user, which causes the password to not match. You could configure your development MySQL server differently, in order to establish a similar environment. In order to do so, you have to edit /etc/mysql/my.cnf:
[mysqld]
...
default-authentication-plugin = mysql_native_password
However, I'd rather suggest to upgrade the production environment to PHP 7.4 and MySQL 8.0, in order to use caching_sha2_password instead, which is the default authentication plugin since MySQL 8.0. One could also update the passwords during deployment through the MySQL CLI - but running identical configurations is the most hassle free - and the most reliable for testing it.
Upgrading to MySQL 8.0 : Default Authentication Plugin Considerations explains it in detail.
cf https://stackoverflow.com/questions/594 … onnections
Hors ligne
Bonjour Biache,
possible !!
karlxena a écrit:
The underlying issue is having an unsupported authentication plugin assigned to the user, which causes the password to not match. You could configure your development MySQL server differently, in order to establish a similar environment. In order to do so, you have to edit /etc/mysql/my.cnf:
[mysqld]
...
default-authentication-plugin = mysql_native_password
However, I'd rather suggest to upgrade the production environment to PHP 7.4 and MySQL 8.0, in order to use caching_sha2_password instead, which is the default authentication plugin since MySQL 8.0. One could also update the passwords during deployment through the MySQL CLI - but running identical configurations is the most hassle free - and the most reliable for testing it.
Upgrading to MySQL 8.0 : Default Authentication Plugin Considerations explains it in detail.
mais de faire cohabiter wordpress avec une redirection en racine, c'est un peu complexe mais c'est possible !!!
A très vite
Hors ligne