Hi,
I'm trying to view my Piwigo site which I have looked at in a couple months and I'm getting the following error
Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'mkbconsu_gallery'@'localhost' (using password: YES) in /home1/mkbconsu/public_html/gallery/include/dblayer/functions_mysqli.inc.php on line 67
Warning: my_error(): Couldn't fetch mysqli in /home1/mkbconsu/public_html/gallery/include/dblayer/functions_mysqli.inc.php on line 837
Warning: my_error(): Couldn't fetch mysqli in /home1/mkbconsu/public_html/gallery/include/dblayer/functions_mysqli.inc.php on line 837
Piwigo encountered a non recoverable error
[mysql error ]
Can't connect to server
#1 my_error /home1/mkbconsu/public_html/gallery/include/common.inc.php(128)
#2 include_once /home1/mkbconsu/public_html/gallery/index.php(26)
I looked at some previous posts and it seems to be a Password issue. But I'm not sure how or where to reset the password. (I'm a bit of a novice so please be patient with me and be as detailed in any remedy steps as you can)
Piwigo version: not sure but not to old
PHP version: 5.6.40
MySQL version: 5.6.41-84.1
Piwigo URL: http://mbaumser.com
Thanks
Marc
Offline
If it worked before, then something changed on your server.
Check your database settings+credentials with your hoster, or look in your database setup if you have it.
Open the database.inc.php file in the Piwigo folder and make sure the settings match.
Offline
thanks. Once I found the database.inc.php file I found the password and rest set it on the DB to match
working now.
Thanks
Marc
Offline
I have a same problem. Could someone please explain in more detail how to solve the problem?
Warning: mysqli::mysqli(): (28000/1045): Access denied for user '****_piwi134'@'mocha3019.mochahost.com' (using password: YES) in /home12/****/public_html/LocationsScout/include/dblayer/functions_mysqli.inc.php on line 52
Warning: my_error(): Couldn't fetch mysqli in /home12/****/public_html/LocationsScout/include/dblayer/functions_mysqli.inc.php on line 848
Warning: my_error(): Couldn't fetch mysqli in /home12/****/public_html/LocationsScout/include/dblayer/functions_mysqli.inc.php on line 848
Piwigo encountered a non recoverable error
[mysql error ]
Can't connect to server
#1 my_error /home12/****/public_html/LocationsScout/include/common.inc.php(113)
#2 include_once /home12/****/public_html/LocationsScout/admin.php(16)
Offline
Check that in your Piwigo's local/config/database.inc.php file the $conf['db_...'] entries match reality.
Offline