M6VMO Posted January 27, 2019 Share Posted January 27, 2019 Hi, I have just changed hosting providers. I transferred my MySQL databases and site data sucessfully, but when I try to access my shop now, I get: "Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'XXXXX_cube671'@'localhost' (using password: YES) in /home/XXXXX/public_html/m6vmo.tk/cube/classes/db/mysqli.class.phpon line 33 Warning: mysqli_options(): Couldn't fetch mysqli in /home/XXXX/public_html/m6vmo.tk/cube/classes/db/mysqli.class.php on line 35 Fatal error: Access denied for user 'XXXXXX_cube671'@'localhost' (using password: YES) in /home/XXXXXXX/public_html/m6vmo.tk/cube/classes/db/mysqli.class.php on line 38" And I know why, it is just becaus the database prefix needs to be adjusted. The only question is, in which file can I find the proper variables to do this? Thank you in advance. Link to comment Share on other sites More sharing options...
havenswift-hosting Posted January 27, 2019 Share Posted January 27, 2019 Your database and dB user names and passwords will almost certainly be different on your new hosting and you need to update the /includes/global.ini.php file with the new values Ian Link to comment Share on other sites More sharing options...
M6VMO Posted January 27, 2019 Author Share Posted January 27, 2019 Yes, that was the reason. And that was also exactly the information I was after. All solved now. Thank you ever so much for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.