Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Database error on all non-database webpages |
|
Author |
|
wolfix
Joined: 15 Mar 2013 Posts: 1
|
Posted: Fri 15 Mar '13 17:18 Post subject: Database error on all non-database webpages |
|
|
I've just built a new LAMP server and I'm having a little issue where Apache doesn't serve a simple non-database webpage, instead, I get an error on all my virtual-host in the browser: Database Error: Unable to connect to the Database: Could not connect to MySQL.
I've googled the problem but since the error mentions MySql, everything I find is related to connecting to MySql, which I'm not trying to connect... and I've contacted my Linux mentor about this issue... This is something I've never seen before... don't know why Apache thinks I'm trying connect to MySQL on every browser call to the server...
However, MySQL is accessible via telnet, and all my permissions are correct...
Hope the apacheLounge can shed some light on this...
All the best,
Gene |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
Posted: Fri 15 Mar '13 20:20 Post subject: |
|
|
Apache has no function in it that is connecting to MySQL. Or you must have some kind of MySQL authentication defined in your configuration.
Running for example PHP scripts which are trying to connect to MySqL ? |
|
Back to top |
|
|
|
|
|
|