Welcome Guest, Not a member yet? Register   Sign In
Connecting CI to TWO different DB on localhost
#5

(12-14-2014, 10:16 AM)Rufnex Wrote: You can use a socket in your connection like this


PHP Code:
'hostname' => 'localhost:/var/run/mysqld/mysqld2.sock'

Wow cool when this works, it is exactly what I was looking for

thank you!
Reply


Messages In This Thread
RE: Connecting CI to TWO different DB on localhost - by mindph - 12-14-2014, 06:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB