Title: Apache VHOST, Database error?
Last modified: August 19, 2016

---

# Apache VHOST, Database error?

 *  Resolved [WP Voyager](https://wordpress.org/support/users/mindblender-3d/)
 * (@mindblender-3d)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/apache-vhost-database-error/)
 * I’m developing several sites locally on my iMac, running OSX.5 and MAMP. Everything
   connects through `localhost:8888`, but I had several virtual hosts configured
   through Apache’s nifty technology.
 * The whole set up worked nicely for a little while, but now everything has gone
   haywire! Specifically, the MySQL relational database seems to be on the fritz,
   because I can access the pages (sometimes) and I get a database connection error.
   It _is_ a WP error page, so I know that _something_ there is still working…
 * UPDATE: now nothing on any of the virtual hosts is getting through. The web browser
   just says that it
 * > can’t find the server “virtual-host”
 * (substitute ‘virtual-host’ for the specific name)
 * Does anyone know how to configure Apache’s virtual host system, or even better,
   does anyone know of a good resource for learning about Apache? (WP specific, 
   or just general. I’m not picky)
 * Thanks, because I’m a little dead in the water here until I can get my local 
   environment back on line 🙂
 * –MindBlender 3D

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

 *  Thread Starter [WP Voyager](https://wordpress.org/support/users/mindblender-3d/)
 * (@mindblender-3d)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/apache-vhost-database-error/#post-1786256)
 * BTW, I forgot to say that I had been using a Free Trial version of MAMP Pro to
   do the configuration, but when the trial expired, I messed everything up trying
   to make some changes manually.
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/apache-vhost-database-error/#post-1786263)
 * A nice index of support materials for Apache can be found here;
 * [http://httpd.apache.org/docs/2.2/](http://httpd.apache.org/docs/2.2/)
 * Name based virtual hosts may be of some interest.
 *  Thread Starter [WP Voyager](https://wordpress.org/support/users/mindblender-3d/)
 * (@mindblender-3d)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/apache-vhost-database-error/#post-1786289)
 * Hey, thanks ClaytonJames!
 * Duh! I guess I should have checked right at the source…
    Oh well, live and learn.
 * Thanks for the pointer.
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/apache-vhost-database-error/#post-1786290)
 * Once it clicks, it’s actually loads of fun…
 * Good luck with it!
 *  Thread Starter [WP Voyager](https://wordpress.org/support/users/mindblender-3d/)
 * (@mindblender-3d)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/apache-vhost-database-error/#post-1786307)
 * Thanks again.
 * Can’t wait!

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

The topic ‘Apache VHOST, Database error?’ is closed to new replies.

## Tags

 * [" Virtual host"](https://wordpress.org/support/topic-tag/virtual-host/)
 * [apache](https://wordpress.org/support/topic-tag/apache/)
 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)
 * [host](https://wordpress.org/support/topic-tag/host/)
 * [local](https://wordpress.org/support/topic-tag/local/)
 * [MAMP](https://wordpress.org/support/topic-tag/mamp/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [WP Voyager](https://wordpress.org/support/users/mindblender-3d/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/apache-vhost-database-error/#post-1786307)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
