Jump to content

Recommended Posts

Hi there,

I have MySQL database sitting on one server, and I have a website residing on another server, the one with the database is a personal server, and the website is a club site I'm running. The club can't afford £180 a year for MySQL access but my own server already has it running for £30 a year...so I want to know how (if its possible) to connect from server A to server B. the PHP file for the club resides on the club server, and the db it's meant to access resides on another server.

Thanks in advance,

Alex
Link to comment
https://forums.phpfreaks.com/topic/4014-access-mysql-db-from-another-server/
Share on other sites

Also, it sounds like a good opportunity to learn how to get your MySQL server to use SSL! (Not that I can tell you how, but it's something on my plate to learn as well... After I get my 6-table many-many-many thingy figured out I'll be moving on to the MySQL security issues.

Maybe I'll post a tutorial on my website for both issues when the time comes, because I'm not having much luck finding a resource that I can wrap my head around for the many-many-many issue, and thre can never be too many security tutorials :)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.