cancel
Showing results for 
Search instead for 
Did you mean: 

Wordpress Database connection settings

fredericksmith
Member

I need some help guys...

 

I have upgraded to advanced web hosting so our company can run a wordpress site. I have set up a SQL user, created a database and imported my wordpress sql file in myPHPadmin without any problems.

 

I remembered to change the site URLs in wordpress before exporting, so no probs there either.

 

I've uploaded all my wordpress files and changed the wp-config.php file to reflect the new DB settings which are:

 

DB Name: wordpress_mywebsite_com

User: username123456
Pass: password

Host: localhost

 

BUT All I get is the old "cannot connect to database" error message. I've tried all sorts of different combinations to no avail.

 

I had no idea it was going to be so difficult to get wordpress working on BT Hosting... Does anyone have any hints or tips?

 

I read somewhere that there maybe a permissions issue, also on a wordpress install I have elsewhere, the DB anme and username have to be prefixed with a username - but tried that and it doesn't work either?

 

Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions

marc
Power User

Your database host name is under Database Manager in the BT Website Centre. It will be something like sqlxx.carrierzone.com. Enter that instead of localhost and you should be able to connect without any issues.

View solution in original post

2 REPLIES 2

marc
Power User

Your database host name is under Database Manager in the BT Website Centre. It will be something like sqlxx.carrierzone.com. Enter that instead of localhost and you should be able to connect without any issues.

fredericksmith
Member

That's great - that fixed the prob...

 

Thank you very much!