• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"$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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.