connecting external mysql database with php

前端 未结 1 1951
南笙
南笙 2021-01-28 18:41

Is that possible to connect mysql database between servers. I mean, lets say i have 2 accounts on 2 different hosting service, one of them has database, and i want to connect it

相关标签:
1条回答
  • 2021-01-28 19:08

    It's very possible.

    Make sure the host that has your database allows for external connections and allows that username/password combination to access the database (Usually something set via mySQL's GRANT option)

    0 讨论(0)
提交回复
热议问题