I've edited wp-config with the correct username, password, hostname, etc, and still get this 'Error establishing a database connection'. I've read many forums for solutions, but nothing has worked so far. Changed hostname to 127.0.0.1, doesn't work. I did the oldpassword sql thing to no avail. Does WordPress append characters to the front or rear the the database name I supply, could it be looking for a database name with appended characters, maybe "wp_" or something. I am trying to install on my local host. Using Apache software to develop and test dynamic web pages, but can't get the WordPress to install. Please tell me what I am doing wrong or where I can find the correct database name, userid, password, etc. that WordPress is expecting. I am quite sure I have spelled them correctly in wp-config.