I have manually installed WordPress and have edited the wp-config.php file but keep getting an "Error establishing a database connection... we can't contact the database server at localhost" redirect when I run the install.php.
here is what my localhost config looks like:
/** MySQL hostname */
define('DB_HOST', 'localhost');
Does anyone know if I should be using 'localhost' or something else with Dotster?
thanks!
kems
A couple of years ago it was like this:
dbxxint.dotsterhost.com
Hey MichaelH - Thanks for the suggestion. I tried 'dbxxint.dotsterhost.com' with no success.
You'd likely need to change the xx to the value assigned by doster. If you can't find the info in your hosting control panel ask your hosts' support department.
Yes I tried this with no luck. Very frustrating.
If you called 360-449-5810 and they couldn't help, you might want to start looking for another hosting arrangement.
aedgerton
Member
Posted 2 years ago #
To find the correct value for 'DB_Host' go into your Dotster account management and go to "configure" for your hosting. Go to the databases menu and select the database you're using for WordPress. Use the value listed as "internal hostname" in place of "localhost" and that should solve the problem.