Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in C:\AppServ\www\vulib2\classes\Query.php on line 36

Database Query Error - You've Probably Found a Bug

Cannot connect to database server.

Please give all the information on this page to your support personnel.

Query Connecting to database server... failed. The DBMS said this:

Can't connect to MySQL server on 'localhost' (10061)

Debug Backtrace (most recent call first):

C:\AppServ\www\vulib2\classes\Error.php:137 FatalHandler->printBackTrace()
C:\AppServ\www\vulib2\classes\Error.php:105 FatalHandler->dbError('Connecting to database server...', 'Cannot connect to database server.', 'Can\'t connect to MySQL server on \'localhost\' (10061)')
C:\AppServ\www\vulib2\classes\Query.php:18 Fatal->dbError('Connecting to database server...', 'Cannot connect to database server.', 'Can\'t connect to MySQL server on \'localhost\' (10061)')
C:\AppServ\www\vulib2\shared\read_settings.php:21 Query->Query()
C:\AppServ\www\vulib2\shared\common.php:125 require_once('C:\\AppServ\\www\\vulib2\\shared\\read_settings.php')
C:\AppServ\www\vulib2\reports\index.php:6 require_once('C:\\AppServ\\www\\vulib2\\shared\\common.php')