PDA

View Full Version : WordPress installation issue


WickEd101
12-15-06, 09:37 AM
Hi all.

Just trying to setup my blog. It's not working for me.

I am using Word Press and have created a database "wpwicked" with username "wicked" and password *****. When I filled in the wp-config.php file, this is what's there

define('DB_NAME', 'wpwicked'); // The name of the database
define('DB_USER', 'wicked'); // Your MySQL username
define('DB_PASSWORD', '*****'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

Password is fine but still, upon opening this file in my browser I get an "Error establishing a database connection". I am running this from a subdirectory. Apart from that, everything's perfect and somewhat unexplainable to me.

Is Wordpress usually an issue here folks?

DB_HOST... is that variable set right? That's my only concern. Thanks guys.

BerksWebGuy
12-15-06, 09:48 AM
Your database host will not be localhost. It will look like mysql10.powweb.com.

You can find your database host in OPS -> Services -> MySQL -> under the 'add login' for that database.

WickEd101
12-16-06, 05:02 AM
Hi there BerksWebGuy!

Thanks so much for your help, I fixed that up (and another problem I stumbled across) but I believe that was the bigger of the two. Just curious as to why PowWeb doesn't ring in the 'index.php' page when you load its root directory, i.e. to access the blog at wicked.com you need to browse to wicked.com/index.php.

I thought this might be automatic, do I need to set this up from within either PowWeb or WordPress? Thanks again.

(jj)
12-16-06, 05:37 AM
index.php should be a default 'home' page. However, if you have an index.htm or index.html file in the same directory (folder) then either of those would load before an index.php page would.