Remote Database

Hi,

When I tired to deploy the application into a server that uses a remote database I am getting an error "driver not found". I have googled a lot about it and found that this answer might be because of some settings of the database, specifically "httpd_can_network_connect". I am using wamp server in my Windows.

I believe someone must have had this problem even though its not so common to use a separate server for the database alone.

If anyone know a solution to this then pls let me know

Thanks

Check that the machine you have deployed your Yii app to has the PDO MySQL extension installed (run a script with phpinfo()). If it exists, you should see something like this:

PDO support enabled

PDO drivers mysql