Welcome Guest, Not a member yet? Register   Sign In
How to connect database using one not in localhost
#15

[eluser]Victor Michnowicz[/eluser]
Sometimes you need to put the port in there as well. Assuming MySQL connects on port 3307:

Code:
$db['local']['hostname'] = "192.168.0.120:3307";


Messages In This Thread
How to connect database using one not in localhost - by El Forum - 01-06-2011, 02:32 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 02:35 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 02:45 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 02:57 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:21 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:24 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:27 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:29 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:31 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:40 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:57 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 04:08 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 04:47 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 04:50 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 07:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB