[1203] PDOException in Connection.php line 295

        SQLSTATE[HY000] [1203] User sdm723421130 already has more than 'max_user_connections' active connections

        1. $this->fetchType = $config['result_type'];
        2. }
        3. try {
        4. if (empty($config['dsn'])) {
        5. $config['dsn'] = $this->parseDsn($config);
        6. }
        7. if ($config['debug']) {
        8. $startTime = microtime(true);
        9. }
        10. $this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params);
        11. if ($config['debug']) {
        12. // 記錄數據庫連接信息
        13. Log::record('[ DB ] CONNECT:[ UseTime:' . number_format(microtime(true) - $startTime, 6) . 's ] ' . $config['dsn'], 'sql');
        14. }
        15. } catch (\PDOException $e) {
        16. if ($autoConnection) {
        17. Log::record($e->getMessage(), 'error');
        18. return $this->connect($autoConnection, $linkNum);
        19. } else {