MySQL can be called remotely, but the user must have remote calling permissions.
When adding a user, there is a host option, which is any host or locahost. You select any host, so that you can call it remotely.
mysql_pconnect("192.168.0.2:3306","root","password");
http://www.bkjia.com/PHPjc/632397.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632397.htmlTechArticleMySQL can be called remotely, but the user must have remote calling permission. When adding users, there is a host option, which is any host or locahost. You choose any host. In this way, you...