Moderator
t-p
(@t-p)
Error connecting to your database is common, but it isn’t necessarily a problem with wordpress itself.
– double check your wp-config.php file settings for the database name, database username and database password. This is where most errors occur.
-Then check that you don’t need to change the database host from “localhost” to something else.
-Check you have actually created a database with the same database name as is in your wp-config.php file.
-Last, but not least, if all that information is correct your database probably has a problem with it.
-There are also many threads on this topic on these forums: http://wordpress.org/search/Error+establishing+a+database+connection?forums=1
-also review info in this codex: http://codex.wordpress.org/WordPress_Installation_Techniques#Installing_WordPress_Locally
Thanks for the help with the links.
I realized I wasn’t at the correct address to install WP(it’s been awhile):wp-admin/install.php
From there I was able to debug my issues and now have successfully installed it locally.
Hi!
I’m having the same error: Error establishing a database connection
I ensured i put the correct information about user password and hostname even I proved that the data base conection is ok.
What can i do?
Thank you
Moderator
t-p
(@t-p)
@srtauls: Despite any similarity in symptoms, your issue is likely to be completely different because of possible differences in physical servers, hosts, plugins, theme, configurations, etc. Also, It’s easier for volunteers to help you if you have your own topic. Therefore, as per the Forum Welcome, please post your own topic. Posting in an existing topic prevents from being able to track issues by topic. 🙂
Sorry,
It was my first time here and I was not sure about how it works.
I will explain my problem with a new topic.
Thank you 🙂