PDOException more than ‘max_user_connections’
-
I got an e-mail that my site had a serious technical problem. When I went looking, everything seemed to be running fine, but I’ll post the details below (translated, domain en db_user edited). At the moment it happened we were sending a MailPoet newsletter.
WordPress versie 6.4.3
Active theme: Enfold Child (versie 1.0)
Current plugin: Independent Analytics (versie 2.3.1)
PHP version 8.1.27Error details =========== An error of type E_ERROR was caused on line number 589 of file /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php. Error message: Uncaught PDOException: SQLSTATE[HY000] [1203] User <db_user> already has more than 'max_user_connections' active connections in /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connectors/Connector.php:53 Stack trace: #0 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connectors/Connector.php(53): PDO->__construct('mysql:host=loca...', '<db_user>', 'M)1ZtJsusNElD[#...', Array) #1 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connectors/Connector.php(34): IAWPSCOPED\Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', '<db_user>', 'M)1ZtJsusNElD[#...', Array) #2 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connectors/MySqlConnector.php(22): IAWPSCOPED\Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array) #3 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connectors/ConnectionFactory.php(157): IAWPSCOPED\Illuminate\Database\Connectors\MySqlConnector->connect(Array) #4 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(884): IAWPSCOPED\Illuminate\Database\Connectors\ConnectionFactory->IAWPSCOPED\Illuminate\Database\Connectors\{closure}() #5 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(913): IAWPSCOPED\Illuminate\Database\Connection->getPdo() #6 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(374): IAWPSCOPED\Illuminate\Database\Connection->getReadPdo() #7 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(319): IAWPSCOPED\Illuminate\Database\Connection->getPdoForSelect(true) #8 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(587): IAWPSCOPED\Illuminate\Database\Connection->IAWPSCOPED\Illuminate\Database\{closure}('select exists(s...', Array) #9 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(561): IAWPSCOPED\Illuminate\Database\Connection->runQueryCallback('select exists(s...', Array, Object(Closure)) #10 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(323): IAWPSCOPED\Illuminate\Database\Connection->run('select exists(s...', Array, Object(Closure)) #11 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(2250): IAWPSCOPED\Illuminate\Database\Connection->select('select exists(s...', Array, true) #12 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(2267): IAWPSCOPED\Illuminate\Database\Query\Builder->exists() #13 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/IAWP/Database.php(39): IAWPSCOPED\Illuminate\Database\Query\Builder->doesntExist() #14 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/iawp-bootstrap.php(249): IAWP\Database::is_missing_all_tables() #15 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/iawp.php(70): require_once('/var/www/vhosts...') #16 /var/www/vhosts/example.com/httpdocs/wp-settings.php(473): include_once('/var/www/vhosts...') #17 /var/www/vhosts/example.com/httpdocs/wp-config.php(108): require_once('/var/www/vhosts...') #18 /var/www/vhosts/example.com/httpdocs/wp-load.php(50): require_once('/var/www/vhosts...') #19 /var/www/vhosts/example.com/httpdocs/wp-admin/admin-ajax.php(22): require_once('/var/www/vhosts...') #20 {main} Next IAWPSCOPED\Illuminate\Database\QueryException: SQLSTATE[HY000] [1203] User <db_user> already has more than 'max_user_connections' active connections (SQL: select exists(select * from
INFORMATION_SCHEMA
.TABLES
whereTABLE_SCHEMA
= <db_user> andTABLE_NAME
LIKE wp_independent_analytics_%) asexists
) in /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php:589 Stack trace: #0 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(561): IAWPSCOPED\Illuminate\Database\Connection->runQueryCallback('select exists(s...', Array, Object(Closure)) #1 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Connection.php(323): IAWPSCOPED\Illuminate\Database\Connection->run('select exists(s...', Array, Object(Closure)) #2 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(2250): IAWPSCOPED\Illuminate\Database\Connection->select('select exists(s...', Array, true) #3 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/vendor/illuminate/database/Query/Builder.php(2267): IAWPSCOPED\Illuminate\Database\Query\Builder->exists() #4 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/IAWP/Database.php(39): IAWPSCOPED\Illuminate\Database\Query\Builder->doesntExist() #5 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/iawp-bootstrap.php(249): IAWP\Database::is_missing_all_tables() #6 /var/www/vhosts/example.com/httpdocs/wp-content/plugins/independent-analytics/iawp.php(70): require_once('/var/www/vhosts...') #7 /var/www/vhosts/example.com/httpdocs/wp-settings.php(473): include_once('/var/www/vhosts...') #8 /var/www/vhosts/example.com/httpdocs/wp-config.php(108): require_once('/var/www/vhosts...') #9 /var/www/vhosts/example.com/httpdocs/wp-load.php(50): require_once('/var/www/vhosts...') #10 /var/www/vhosts/example.com/httpdocs/wp-admin/admin-ajax.php(22): require_once('/var/www/vhosts...') #11 {main} thrownThe page I need help with: [log in to see the link]
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘PDOException more than ‘max_user_connections’’ is closed to new replies.