I want to develop application that my database is not in the localhost, like this
$db[‘default’][‘hostname’] = “192.168.0.120”;
But the application said this
A Database Error Occurred
Unable to connect to your database server using the provided settings.
can codeigniter using some server database instead of just localhost ?? or maybe something missing?
The server located at that IP address must be configured to allow remote MySQL connections, at least to port 3306 or whichever port MySQL has been configured to listen on.