Title: riverkash's Replies | WordPress.org

---

# riverkash

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

 *   [Profile](https://wordpress.org/support/users/riverkash/)
 *   [Topics Started](https://wordpress.org/support/users/riverkash/topics/)
 *   [Replies Created](https://wordpress.org/support/users/riverkash/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/riverkash/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/riverkash/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/riverkash/engagements/)
 *   [Favorites](https://wordpress.org/support/users/riverkash/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: [MySQL connection](https://wordpress.org/support/topic/mysql-connection-1/)
 *  Thread Starter [riverkash](https://wordpress.org/support/users/riverkash/)
 * (@riverkash)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/mysql-connection-1/#post-2334545)
 * Thanks everyone for your support, I have rectified the problem.
 * Due to the nature of of my “/etc/hosts” file, the localhost was not working in
   the wp-config.php.
 * In the wp-config.php I replaced localhost with “define(‘DB_HOST’, ‘127.0.0.1’);”
   and now have a database connection.
 * Once again thanks to all that helped with this.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [MySQL connection](https://wordpress.org/support/topic/mysql-connection-1/)
 *  Thread Starter [riverkash](https://wordpress.org/support/users/riverkash/)
 * (@riverkash)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/mysql-connection-1/#post-2334371)
 * Just to add to this, I can also connect to MySQL from the CLI (Command Line Interface)
   using Terminal.

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