Welcome Guest, Not a member yet? Register   Sign In
CI4: how to check DB connection?
#4

Don't we have a better solution for this? It seems that \CodeIgniter\Database\Config::getConnections() is not returning the actual connections but the predefined connection properties. Even if you input a wrong database name in the .env or Database.php file, it is still getting returned by this function
Reply


Messages In This Thread
CI4: how to check DB connection? - by Avega Soft - 11-20-2019, 09:25 AM
RE: CI4: how to check DB connection? - by MGatner - 11-20-2019, 09:48 AM
RE: CI4: how to check DB connection? - by babski123 - 11-02-2022, 03:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB