Jump to content

Database Connection Edits - Live Environment


Recommended Posts

Posted

Hi,

I need to change the db user details (sql_user, sql_pass) within conf_global.php.

Testing within a staging environment isn't possible.

Have you done this before and what advice would you give?

Thanks,

P

Posted

Download the file locally via FTP, make a copy (backup)

Make the required changes locally, make sure you have the correct details entered.

Upload the file and test it.

Works - job done, no need to think it's anything other than the above.

Doesn't work - figure out why.

It's not rocket science at all.

  • 2 weeks later...
Posted

Thanks Nathan. I thought as much.

However, when I changed the database user details I received the following HTTP 500 error:

Quote

 

We're sorry, but a temporary technical error has occurred which means we cannot display this site right now. 

Access denied for user '[username]'@'localhost' (using password: YES)

You can try again by clicking the button below, or try again later. 

 

Is there a caching issue I need to resolve?

Thanks,

P

It's resolved. 

My username contained too many characters. This was shorted by Cpanel and I hadn't spotted it.

Thanks

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...