![]() |
DB Library Issues when not on localhost - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: DB Library Issues when not on localhost (/showthread.php?tid=56304) |
DB Library Issues when not on localhost - El Forum - 12-09-2012 [eluser]Unknown[/eluser] Hello, After scanning the internet for answers, I decided to ask the community ![]() 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? DB Library Issues when not on localhost - El Forum - 12-09-2012 [eluser]Aken[/eluser] Your PHP install still needs the proper extensions to communicate with MySQL. |