Welcome Guest, Not a member yet? Register   Sign In
"$this->load->database('group_name')" doesn't work
#11

[eluser]t0psub[/eluser]
If i use stuffradio method it works, But i want to change the global database connection to this new one, Is there a way to do this were it doesn't default back to the active_group?
#12

[eluser]The Wizard[/eluser]
hello,
only the method with returning the database objects into variables will work.

like
Code:
$db1 = $this->load->database('bla1', TRUE);
$db2 = $this->load->database('bla2', TRUE);

this is a mysql bug i think.
there is clearly an issue with persistent connections.
maybe this is the problem.
http://bugs.mysql.com/bug.php?id=397




Theme © iAndrew 2016 - Forum software by © MyBB