Getting WordPress Started With SmarterASP.net Server

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.

  1.  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.
  2. 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.

 

Database Creation

 

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 */
define(‘DB_NAME’, ‘db_a1068b_thisismydatabasename’);

/** MySQL database username */
define(‘DB_USER’, ‘a1068b_thisismyusername’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘thisismypassword’);

/** MySQL hostname */
define(‘DB_HOST’, ‘MYSQL5018.SmarterASP.NET’);

 

After you put that info in, go to “yoursite.com/wp_admin/install.php” and follow the instructions!