Welcome Guest, Not a member yet? Register   Sign In
How to handle DB connection errors
#4

Unfortunately, it does not work, because when I use $this->load->database($db_config) CodeIgniter already attempts the connection and the error occurs. I can't test for the error before the connection is successful. This is what's bothering me. However, I think that I will have to find another way to do this.
Reply


Messages In This Thread
RE: How to handle DB connection errors - by guilhermemuller - 05-18-2017, 07:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB