SmarterASP.net is a great hosting provider and super cheap, I highly recommend them.
When I did the one-click WordPress install from the Control Panel, I got “Error Establishing Database Connection.” I had no idea what I was doing so I tried accessing the wp_config file directly and no luck. I found out there were two problems.
- I had not created a database in the SmarterASP Control Panel. I assumed it did this automatically. Go create one by clicking on the database button in the Control Panel. Choose the “Databases” tab then click the “+MySQL” button.
- I had to manually put the database info into the wp_config.php file. Get the file using the download button on the Control Panel or use FTP. The FTP server is: ftp.smarterasp.net. You’ll find this info on the same screen that you add the database. After creating the database, there will be two connection string examples. I wan’t sure how to use them directly but the info you need is contained in here. It’s also located above in the Database Info section. Look through this line and find your server name and user name the input these and the password you specified into the wp_config.php file.
Here is the snippet that I edited:
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
/** MySQL database username */
/** MySQL database password */
/** MySQL hostname */
After you put that info in, go to “yoursite.com/wp_admin/install.php” and follow the instructions!