if i want to make dates update at the sametime ,but the website are not all on the frihost server ,i want to know mysql is allowed to connect from other server.
Change your mySQL host to another server's IP.
i.e. localhost to another ip address.
Make sure you allowed Frihost to access port 3306 the other server first.
Add Frihost's IP address to the other server's "allow list".
just change localhost for XXX.XXX.XXX.XXX:3306 ?
before i just input the ip of the frihost sever .it is work ,but now,
it show: Connect(0) to MySQL (XXX.XXX.XXX.XXX,xxx_xxx) failed
MySQL Server Error:
Lost connection to MySQL server during query ( 2013 )
On our server, you do that.
But on the server hosting the mySQL, you must put our IP address to the allow list.
i have input the ip to the access list,but it still don't work.maybe the admin have make the mysql not be connected from other host server.
why not have a answer this problem.