my website (http://www.hostrich.com/webhosting/wp-login.php) I had the error message "Error establishing a database connection".

Some more information about what system you are running would be useful but in general terms you are probably seeing that error because the settings for the database connection are incorrect.
You should check the details in the connection string or config file, wherever you have specified the database name and the user name and password. One of those is probably wrong.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.