|
只要频繁的编辑操作 客户管理 信息点击里面的tab 就会产生这个 max_user_connnections 错误。 感觉好像是使用pdo连接方式 是不是我们脚本里没有及时的关闭数据库连接 导致连接数量超出限制范围, 而且这个错误会暴露后台数据库用户名和密码, 麻烦管理员看看, 求解决方法
Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1203] User root already has more than 'max_user_connections' active connections in /public_html/system/storage/vendor/illuminate/database/Connectors/Connector.php:70 Stack trace: #0 /public_html/system/storage/vendor/illuminate/database/Connectors/Connector.php(70): PDO->__construct('mysql:host=loca...', 'root', '', Array) #1 /public_html/system/storage/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'root', '', Array) #2 /public_html/system/storage/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array) #3 /public_html/system/storage/vendor/illuminate/database/Connectors/Connectio in /public_html/system/storage/vendor/illuminate/database/Connectors/Connector.php on line 70 |
|