-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dispalay of db credentials #3194
Comments
Duplicate of #3102 - already fixed. |
Re-opening - sorry - didn't read all the details... |
Is that the full stack dump? If not, can you post it all? |
This is all that was displayed on the screen. I find nothing more in logs. |
Here is one from 8 april (before I patched my site) PDOException: SQLSTATE[HY000] [1040] Too many connections in /storage/content/50/100750/mysite.com/public_html/webtree/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 Stack trace: #0 /storage/content/50/100750/mysite.com/public_html/webtree/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=wt20...', 'XXXXXXX', 'XXXXXXXXXX', Array) #1 /storage/content/50/100750/mysite.com/public_html/webtree/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=wt20...', 'XXXXXXX', 'XXXXXXXXXX', Array) #2 /storage/content/50/100750/mysite.com/public_html/webtree/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=wt20...', 'XXXXXXX', 'XXXXXXXXXX', Array) #3 /storage/content/50/100750/mysite.com/public_html/webtree/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=wt20...', Array, Array) #4 /storage/content/50/100750/mysite.com/public_html/webtree/vendor/illuminate/database/Connectors/ConnectionFactory.php(182): Illuminate\Database\Connectors\MySqlConnector->connect(Array) #5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors{closure}() #6 /storage/content/50/100750/mysite.com/public_html/webtree/vendor/illuminate/database/Connection.php(919): call_user_func(Object(Closure)) #7 /storage/content/50/100750/mysite.com/public_html/webtree/vendor/illuminate/database/Connection.php(452): Illuminate\Database\Connection->getPdo() #8 /storage/content/50/100750/mysite.com/public_html/webtree/vendor/illuminate/database/Connection.php(657): Illuminate\Database\Connection->Illuminate\Database{closure}('create table |
I'm "sure" I installed all commits, but could have missed one. Will install latest code, and report back if it happens again. |
With latest code (as of 1st May) I see the same message |
OK, I see the problem now. We catch the error OK, but we try to log it (in the database) - which triggers it again. |
I patched my site with ff020ee 13 april, and was surprised to se my db credentials displayed during a transient db problem this weekend
Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1040] Too many connections in /storage/content/50/100750/xxxxx.com/public_html/webtree/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 Stack trace: #0 /storage/content/50/100750/xxxxx.com/public_html/webtree/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->__construct('mysql:host=XXXX', 'XXXXXXX', 'XXXXXXXXXX', Array) #1 /storage/content/50/100750/xxxxx.com/public_html/webtree/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=XXXX', 'XXXXXXX', 'XXXXXXXXXX', Array) #2 /storage/content/50/100750/xxxxx.com/public_html/webtree/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=XXXX', 'XXXXXXX', 'XXXXXXXXXX', Array) #3 /storage/content/50/100750/xxxxx.com/public_html/webtree/vendor/illuminate/database/C in /storage/content/50/100750/xxxxx.com/public_html/webtree/vendor/illuminate/database/Connection.php on line 664
The text was updated successfully, but these errors were encountered: