PDOException: SQLSTATE[08004] [1040] Too many connections File=/alidata/www/phpxiu3.0/web/app/config/services.php Line=160 #0 [internal function]: PDO->__construct('mysql:host=127....', 'phpxiu', 'phpxiu', Array) #1 [internal function]: Phalcon\Db\Adapter\Pdo->connect(Array) #2 /alidata/www/phpxiu3.0/web/app/config/services.php(160): Phalcon\Db\Adapter\Pdo->__construct(Array) #3 [internal function]: {closure}() #4 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault)) #5 [internal function]: Phalcon\Di->get('db', NULL) #6 [internal function]: Phalcon\Di->getShared('db') #7 [internal function]: Phalcon\Mvc\Model\Manager->_getConnection(Object(User), NULL) #8 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection(Object(User)) #9 [internal function]: Phalcon\Mvc\Model->getReadConnection() #10 [internal function]: Phalcon\Mvc\Model\Query->_executeSelect(Array, Array, Array) #11 [internal function]: Phalcon\Mvc\Model\Query->execute() #12 /alidata/www/phpxiu3.0/common/librarys/Paginator.php(63): Phalcon\Paginator\Adapter\QueryBuilder->getPaginate() #13 /alidata/www/phpxiu3.0/common/models/User.php(746): Paginator->showJson() #14 /alidata/www/phpxiu3.0/web/app/controllers/HomeController.php(209): User::queryClassAnchor(0, 1, 20) #15 [internal function]: HomeController->centerAction() #16 [internal function]: Phalcon\Dispatcher->dispatch() #17 /alidata/www/phpxiu3.0/web/public/index.php(28): Phalcon\Mvc\Application->handle() #18 {main}