Exception message: mysql_pconnect(): Too many connections
Error code: 2
-- Backtrace --
/var/www/html/teacherblog/class/database/pdb/drivers/pdbmysqldriver.class.php(97): mysql_pconnect
/var/www/html/teacherblog/class/database/db.class.php(73): pdbmysqldriver.pconnect
/var/www/html/teacherblog/class/dao/model.class.php(522): db.getdb
/var/www/html/teacherblog/class/dao/model.class.php(129): articles._initializedb
/var/www/html/teacherblog/class/dao/articles.class.php(470): articles.execute
/var/www/html/teacherblog/class/action/defaultaction.class.php(191): articles.getblogarticles
/var/www/html/teacherblog/class/controller/controller.class.php(310): defaultaction.perform
/var/www/html/teacherblog/index.php(50): blogcontroller.process
/var/www/html/teacherblog/error.php(39): include_once
/var/www/html/teacherblog/blog.php(18): include_once
/var/www/html/teacherblog/blog(8): include_once

Exception message: mysql_error(): supplied argument is not a valid MySQL-Link resource
Error code: 2
-- Backtrace --
/var/www/html/teacherblog/class/database/pdb/drivers/pdbmysqldriver.class.php(125): mysql_error
/var/www/html/teacherblog/class/database/db.class.php(75): pdbmysqldriver.errormsg
/var/www/html/teacherblog/class/dao/model.class.php(522): db.getdb
/var/www/html/teacherblog/class/dao/model.class.php(129): articles._initializedb
/var/www/html/teacherblog/class/dao/articles.class.php(470): articles.execute
/var/www/html/teacherblog/class/action/defaultaction.class.php(191): articles.getblogarticles
/var/www/html/teacherblog/class/controller/controller.class.php(310): defaultaction.perform
/var/www/html/teacherblog/index.php(50): blogcontroller.process
/var/www/html/teacherblog/error.php(39): include_once
/var/www/html/teacherblog/blog.php(18): include_once
/var/www/html/teacherblog/blog(8): include_once

Exception message: Fatal error: could not connect to the database! Error:
Error code: 0
-- Backtrace --
/var/www/html/teacherblog/class/database/db.class.php(76): throw
/var/www/html/teacherblog/class/dao/model.class.php(522): db.getdb
/var/www/html/teacherblog/class/dao/model.class.php(129): articles._initializedb
/var/www/html/teacherblog/class/dao/articles.class.php(470): articles.execute
/var/www/html/teacherblog/class/action/defaultaction.class.php(191): articles.getblogarticles
/var/www/html/teacherblog/class/controller/controller.class.php(310): defaultaction.perform
/var/www/html/teacherblog/index.php(50): blogcontroller.process
/var/www/html/teacherblog/error.php(39): include_once
/var/www/html/teacherblog/blog.php(18): include_once
/var/www/html/teacherblog/blog(8): include_once