Jump to content
M6VMO

Problems after hosting migration

Recommended Posts

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.

 

Share this post


Link to post
Share on other sites

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

  • Thanks 2

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...