How to access a MySQL database webservice over LAN? [closed]
I have three PCs that I connect over LAN. The first PC to database; The second to web service CodeIgniter RESTful; The third to client. Now how can I connect web service CodeIgniter server to database, I've set the IP on aplication/config/database.php , $db['default']['hostname'] = 'localhost'; I've changed localhost with the IP that is used by the first pc: $db['default']['hostname'] = '192.168.1.10'; But, the result : A database error occurred Unable to connect to your database server using the provided settings. A database error occurred Unable to connect to your database server using the