Welcome Guest, Not a member yet? Register   Sign In
Database Connection Accross a Network
#3

[eluser]Pygon[/eluser]
The only real difference between your code and CI's code is that CI has rawurldecode() for the hostname and such (which shouldn't cause a problem). Ofcourse, this assumes that you have
Code:
$db['default']['dbdriver'] = "mssql";
//... AND ...//
$db['default']['pconnect'] = FALSE;

or your testing isn't very valid (since CI will try to use a persistent connection, unlike your code).

Otherwise, not sure what to say -- works perfectly fine for me using a remote MSSQL database and persistant connections.


Messages In This Thread
Database Connection Accross a Network - by El Forum - 03-14-2008, 09:56 AM
Database Connection Accross a Network - by El Forum - 03-14-2008, 10:40 AM
Database Connection Accross a Network - by El Forum - 03-14-2008, 11:52 AM
Database Connection Accross a Network - by El Forum - 03-14-2008, 12:54 PM
Database Connection Accross a Network - by El Forum - 03-14-2008, 12:58 PM
Database Connection Accross a Network - by El Forum - 03-14-2008, 02:05 PM
Database Connection Accross a Network - by El Forum - 03-14-2008, 02:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB