PHP Warning: mysqli_connect(): (HY000/1045): Access denied for user 'fwcvhp5_museum'@'localhost' (using password: YES)
in xxx\upgrader\inc\steps\06.php on line 82
Does upgrader look for a local configure file? I'd guess not.
CE Phoenix Upgrader Utility
PHP Warning: mysqli_connect(): (HY000/1045): Access denied - CE Phoenix Upgrader Utility
- edfaught
- Member
- Posts: 49
- Joined: Mon Oct 26, 2020 3:22 pm
- Phoenix Version:
- Contact:
Re: PHP Warning: mysqli_connect(): (HY000/1045): Access den
The upgrader loads the configure.php based on the answer to the catalog root provided in "Link to file structure for your CE Phoenix store".
It then uses those credentials and database to perform the upgrades. If line 82 of step 06 says it cannot connect, then I would review the access assigned to the user that is specified in the catalog/includes/configure.php as that part of the script is trying to create a database table as a test to make sure access is allowed. The upgrader will need full access to the database as upgrades need to add/drop/alter tables,columns, etc.
It then uses those credentials and database to perform the upgrades. If line 82 of step 06 says it cannot connect, then I would review the access assigned to the user that is specified in the catalog/includes/configure.php as that part of the script is trying to create a database table as a test to make sure access is allowed. The upgrader will need full access to the database as upgrades need to add/drop/alter tables,columns, etc.
zipurman
-----------
-----------
- zipurman
- Builder
- Posts: 540
- Joined: Tue Oct 13, 2020 5:20 pm
- Phoenix Version: v
- Contact:
Re: PHP Warning: mysqli_connect(): (HY000/1045): Access den
I was using an old /local/configure.php file which I figured Upgrader was not looking for, so I got rid of it and fixed the normal config file.
- edfaught
- Member
- Posts: 49
- Joined: Mon Oct 26, 2020 3:22 pm
- Phoenix Version:
- Contact:
Re: PHP Warning: mysqli_connect(): (HY000/1045): Access den
I ran into the same issue.
As a suggestion for future versions: Upgrader could check whether or not there is a configure.php file in /includes/local/ and use the credentials from it.
Excellent Addon! Thank you, zipurman!
As a suggestion for future versions: Upgrader could check whether or not there is a configure.php file in /includes/local/ and use the credentials from it.
Excellent Addon! Thank you, zipurman!
- cristiangliga
- Member
- Posts: 9
- Joined: Tue Feb 09, 2021 7:19 am
- Phoenix Version:
- Contact:
Re: PHP Warning: mysqli_connect(): (HY000/1045): Access den
Thanks 
Will keep that in mind for future release as an option
Will keep that in mind for future release as an option
zipurman
-----------
-----------
- zipurman
- Builder
- Posts: 540
- Joined: Tue Oct 13, 2020 5:20 pm
- Phoenix Version: v
- Contact: