Connecting to remote MySQL database

  api, mysql, php, remote-server

My hosting refuse remote connecting to it MySQL server without whitelisted IP, I develop offline applcation and need connection to remote server while synchronizing data. Currently I am using vpn to create static ip and whitlist this IP on server to be able to connect.

Is there any way to put the database connection php file at my server to make the connection from server itself so there will be no need to whitelisted ip ?

Thanks

Source: Ask PHP

LEAVE A COMMENT