Welcome Guest, Not a member yet? Register   Sign In
DB Library Issues when not on localhost
#1

[eluser]Unknown[/eluser]
Hello,
After scanning the internet for answers, I decided to ask the community Tongue

I got the latest CI deployed on server A and a mysql Server deployed on server B.
Note! Server A does not have any mysql driver/connectors or client installed.

I added the the following line to Autoload.php:
$autoload['libraries'] = array('database');

I have modified the database settings in database.php to point at server B address along with the correct user/pass and database name ( i also added permissions in server B).

As soon as I load the page I get error code 500. Removing the autoload, fixes it.

Do I need to install any mysql connector/driver/client on server A so it can communicate with server B? I assumed that CI is coming with this configuration or perhaps i'm wrong?


Messages In This Thread
DB Library Issues when not on localhost - by El Forum - 12-09-2012, 08:04 AM
DB Library Issues when not on localhost - by El Forum - 12-09-2012, 03:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB