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

You can use a socket in your connection like this

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

Reply


Messages In This Thread
RE: Connecting CI to TWO different DB on localhost - by Rufnex - 12-14-2014, 10:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB