Warning: PDO::__construct() [pdo.--construct]: [2002] Ŀܾ޷ӡ (trying to connect via tcp://localhost:3306) in E:\WebRoot\adplatform\src\common\Db.class.php on line 49

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Ŀܾ޷ӡ ' in E:\WebRoot\adplatform\src\common\Db.class.php:49 Stack trace: #0 E:\WebRoot\adplatform\src\common\Db.class.php(49): PDO->__construct('mysql:host=loca...', 'root', 'mmgps2012', Array) #1 E:\WebRoot\adplatform\src\common\Db.class.php(36): Db::createConn() #2 E:\WebRoot\adplatform\src\DAO\MenuDAO.php(22): Db::getInstance() #3 E:\WebRoot\adplatform\index.php(31): MenuDAO->__construct() #4 {main} thrown in E:\WebRoot\adplatform\src\common\Db.class.php on line 49