Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jan 14, 2009 7:32 pm 
Offline
Senior Newbie

Joined: Sun Nov 30, 2008 10:03 am
Posts: 15
I am setting up a CentS linode with litespeed, php + myql. After creating database, user and giving permissions I configred wordpress wp-config.php.

Now when I run install I get following error:

Code:
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.


When I use ssh I am able to login to DB using same credentials as wp-config. I checked everything and created new DB giving permissions but no luck


Help please...


Last edited by sagar on Fri Jan 16, 2009 10:39 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Thu Jan 15, 2009 2:36 am 
Offline
Senior Member

Joined: Fri Sep 12, 2008 3:17 am
Posts: 166
Website: http://independentchaos.com
how are you logging in?

What permissions are you granting to the database user?


Top
   
 Post subject:
PostPosted: Fri Jan 16, 2009 10:39 am 
Offline
Senior Newbie

Joined: Sun Nov 30, 2008 10:03 am
Posts: 15
Interesting I found the solution on WP.

wp-config "localhost" needs to be "Localhost" (capital L) that resolved the problem :)


Top
   
 Post subject:
PostPosted: Fri Jan 16, 2009 1:31 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
If that fixed your problem, there's something very strange about your linode. My WP config has this line:
Code:
define('DB_HOST', 'localhost');

It works fine.

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
 Post subject:
PostPosted: Sun Jan 18, 2009 12:17 am 
Offline
Senior Member

Joined: Fri Sep 12, 2008 3:17 am
Posts: 166
Website: http://independentchaos.com
does your /etc/hosts file have a captial 'L' for localhost?

_________________
If it ain't broke, you didn't tweak it enough. If it is broke, use more duct tape.
http://independentchaos.com


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group