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?

#2
[eluser]Aken[/eluser]
Your PHP install still needs the proper extensions to communicate with MySQL.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.