I am using Codeigniter & LAMP stack (without the MySQL) on my localhost to connect to a remote MySQL database on my server. This configuration is for development purposes only.
Problem: It takes up to a minute for the entire page to load! Is there any way to make this connection faster?
Sometimes its so slow i even get the error:
A Database Error Occurred
Unable to select the specified database: x
Filename: /Applications/MAMP/htdocs/x/third_party/MX/Loader.php
Line Number: 96