Configuring WordPress


This blog is powered by WordPress using a MySQL database. I had problems getting it to work until I tried changing a value in the configuration file. I have another MySQL database with powering a genealogy program, phpGedView and I compared the two configuration files.

The WordPress config file line below was the problem:

define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

but I got the the error message “Error establishing a database connection

I replaced ‘localhost’ with ‘76.162.254.xxx” (xxx are the last three digits) and the installation was almost immediate. I use ixWebHosting for my blog.

Its great when things suddenly work, particularly when you don’t really know what you are doing.

Leave a comment