Does anyone know how to see if there are any database connection leaks? my website keeps crashing because it can’t connect to the database. Help!
i’m running EE V5.4.0 and throwing the error on: mysqli_connection.php line 78
// were additional config items set?
if (isset($dns['query']))
{
parse_str($dns['query'], $extra);
foreach($extra as $key => $val)
{
// booleans please
if (strtoupper($val) == "TRUE")
{
$val = TRUE;
}
elseif (strtoupper($val) == "FALSE")
{
$val = FALSE;
}
$params[$key] = $val;
}
}
Hi Jav,
This is a bit of a hard one to trouble shoot without a good number of specifics.
My gut reaction is to take a peek at the MySQL logs specifically to see if there might be something good to follow on that front.
This could be an item related to your host, a given template, overall server setup etc.
See anything good in the logs?
Thanks,
-Tom Jaeger
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.