cancel
Showing results for 
Search instead for 
Did you mean: 

Error establishing a database connection + other questions

coolj
Dabbler
Posts: 23
Registered: 05-02-2011

Error establishing a database connection + other questions

Hi,
my site has been migrated over but I can't get access as that error appears.  I can log into the Control Panel and I have initialised PHP Admin and can see the database - which looks populated. 
I've checked the server, db name, user name against wpconfig.php and they are correct - not sure how to check that the password in wpconfig.php is correct though.
My domain is www.eyemagine.co.uk which I have updated in the DNS settings as follows:
eyemagine.co.uk. a 91.136.8.9
www                 cname eyemagine.co.uk.
Any ideas?
Other questions:
1) In the control panel I can manage ccgi.USERNAME.plus.com  ; cgi.USERNAME.plus.com ; eyemagine.co.uk ; ccgi.eyemagine.co.uk . Which one do I use - does it matter?  There's no DB against eyemagine but there is for ccgi.
2) In phpMyAdmin it shows a warning "Your PHP MySQL library version 5.1.70 differs from your MySQL server version 5.5.28.  This may cause unpredictable behaviour" - is this likely to be an issue?
Thanks
Andrew
3 REPLIES
Community Gaffer
Community Gaffer
Posts: 12,954
Thanks: 749
Fixes: 69
Registered: 04-04-2007

Re: Error establishing a database connection + other questions

Quote from: coolj
1) In the control panel I can manage ccgi.USERNAME.plus.com  ; cgi.USERNAME.plus.com ; eyemagine.co.uk ; ccgi.eyemagine.co.uk . Which one do I use - does it matter?  There's no DB against eyemagine but there is for ccgi.

They all point to the same physical server space however they can have different instances of some of the other applications like Analytics etc. I'd suggest you keep everything under your main domain to save confusion.
Quote from: coolj
2) In phpMyAdmin it shows a warning "Your PHP MySQL library version 5.1.70 differs from your MySQL server version 5.5.28.  This may cause unpredictable behaviour" - is this likely to be an issue?

No.
I'll take a look at your other problem now...

Bob Pullen
Plusnet Products Team
If I've been helpful then please give thanks ⤵

coolj
Dabbler
Posts: 23
Registered: 05-02-2011

Re: Error establishing a database connection + other questions

Thanks Bob.
I notice that it seems to be working now so thanks for sorting out what the problem was.
Regards
Andrew
Community Gaffer
Community Gaffer
Posts: 12,954
Thanks: 749
Fixes: 69
Registered: 04-04-2007

Re: Error establishing a database connection + other questions

Yep, should all be good now Smiley

Bob Pullen
Plusnet Products Team
If I've been helpful then please give thanks ⤵