Hi, I recently updated my Zenphoto to version 1.6.4. Since the update the setup can't access the database anymore. Even if I install a new instance and running the setup I get the error ' Access denied for user 'test1'@'localhost' (using password: YES)'. I am using PHP 8.2.3 and MySQL 8.0.27. My older Zenphoto Version (1.5.x) was working fine. Thanks for your help
Norbert
Just to note to be sure the db fields are in 1.6.x these:
$conf['db_software'] = 'MySQLi'; // or "pdo_mysql"
$conf['mysql_user'] = '';
$conf['mysql_pass'] = '';
$conf['mysql_host'] = '';
$conf['mysql_database'] = '';
$conf['mysql_prefix'] = '';
$conf['mysql_port'] = "3306"; // default should work generally
$conf['mysql_socket'] = ""; // optional
Thanks for the response. I filled out all the above fields, but it was not working. However, I change my database password and with the new password it was working. As I said the password was correct (and it tested it), but somehow Zenphoto was not able to use it. Anyway, I got it working.
This was the log file:
{7627:Thu, 01 Aug 2024 05:46:49 GMT}
ZenphotoCMS database credentials are incomplete or wrong. Check your config file settings and re-run setup.
{7627:Thu, 01 Aug 2024 05:51:49 GMT}
Access denied for user 'web2922'@'localhost' (using password: YES)
dbBase::logConnectionError called from dbMySQLi->__construct (class-dbmysqli.php [28])
from require_once (functions-basic.php [219])
from require_once (functions.php [12])
from include (index.php [14])
from index.php [79]