Title: DonG's Replies | WordPress.org

---

# DonG

  [  ](https://wordpress.org/support/users/dong/)

 *   [Profile](https://wordpress.org/support/users/dong/)
 *   [Topics Started](https://wordpress.org/support/users/dong/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dong/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dong/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dong/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dong/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dong/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [DB_HOST connection string Error](https://wordpress.org/support/topic/db_host-connection-string-error/)
 *  Thread Starter [DonG](https://wordpress.org/support/users/dong/)
 * (@dong)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/db_host-connection-string-error/#post-85264)
 * Some days I think I just hold my mouth wrong. I had started with ‘localhost’ 
   and was recieving an error that many others have reported. Changed the string
   as I mentioned above, got a different error. I attempted ‘localhost’ one more
   time and bingo.
    Sometimes . . . it just escapes me. Sorry for the bother. But
   most importantly, thanks for the support!! Don
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [DB_HOST connection string Error](https://wordpress.org/support/topic/db_host-connection-string-error/)
 *  Thread Starter [DonG](https://wordpress.org/support/users/dong/)
 * (@dong)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/db_host-connection-string-error/#post-85256)
 * Thanks podz for replying.
    Cpanels gives two examples after the database name,
   username and password are created. For Perl the example is: $dbh = DBI->connect(“
   DBI:mysql:netbased_nblog:localhost”,”netbased_nblog”,”<PASSWORD HERE>”); For 
   PHP the example is: $dbh=mysql_connect (“localhost”, “netbased_nblog”, “<PASSWORD
   HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());
   mysql_select_db (“netbased_nblog”); As you can see above, I inserted the PHP 
   connection string between the ‘ ‘ replacing localhost. Does this give you any
   insights? Thanks again, Don

Viewing 2 replies - 1 through 2 (of 2 total)