Announcement

#1 2019-03-26 22:38:33

mbaumser
Member
2009-03-26
40

Error 1045

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

 

#2 2019-03-26 23:05:21

executive
Member
2017-08-16
1214

Re: Error 1045

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

 

#3 2019-03-27 00:27:41

mbaumser
Member
2009-03-26
40

Re: Error 1045

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

 

#4 2020-05-20 13:51:26

idejan
Member
2020-05-20
1

Re: Error 1045

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

 

#5 2020-05-20 15:29:44

erAck
Only trying to help
2015-09-06
2023

Re: Error 1045

Check that in your Piwigo's local/config/database.inc.php file the $conf['db_...'] entries match reality.


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact