duanheye7423
duanheye7423
2015-06-22 17:42

在localhost中工作时是否可以连接到远程数据库?

已采纳

I am working on a project with my developers on localhost. We are using git to collaborate but are having issues collaborating the database using git or using a remote db.

Is there any possible way where I can use git or set up a remote server while working with the localhost?

Btw we are using phpmyadmin

Any help would be really appreciated.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • dongshan3806 dongshan3806 6年前

    Yes, of course it is. You'll need to whitelist your development servers on the remote server's firewall and allow remote access to the database. If you're using cPanel, there are options there to do so, but you may need to speak to your host as well.

    点赞 评论 复制链接分享

为你推荐