Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3480994
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T10:24:16+00:00 2026-05-18T10:24:16+00:00

I have a unique setup for a web application that I need to get

  • 0

I have a unique setup for a web application that I need to get my head around.

I have two servers that will need to talk to each other. Server A will host the actual PHP-based application; Server B will host the MySQL database and the server connection details. Server B will also be within a closed network, so that only people on the local network will be able to access the server, whereas Server A will be web based.

If the visitor has access to the local network for Server B, they should then be able to, through the scripting on Server A, connect to and access the database on Server B to complete the picture.

My first question is: is this possible? I think it is, but I am not 100% sure.

Secondly: How would I write the script for accessing the Server B script? Is it similar to accessing an include file or would it be a remote HTTPS call? I’m just not sure how to go about making this happen.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T10:24:17+00:00Added an answer on May 18, 2026 at 10:24 am

    Remotely connecting to a MySQL database should be no problem. Here is a pretty thorough guide Enabling Remote MySQL Access. I was able to get this to work by a simple setting in WHM called Additional MySQL Access Hosts. Visiting this area from Server B you would be able to add the IP address of Server A, allowing Server A to connect to Server B’s Database by using this format:
    mysql_connect("IP Address of Server B","DB_username","DB_pass")
    or whatever your preferred MySQL connection function is.

    If this doesn’t work right away though, you may need to make some changes to firewall settings, but to my knowledge what you need should be possible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to write something in vbscript that need to use a unique set.
Our VSS setup is like this: We have a set of unique folders with
I have a list of about a hundreds unique strings in C++, I need
I have a field in a database that is nearly unique: 98% of the
I have a 100 classes that have some similar elements and some unique. I've
I have a situation where I need to add an arbitrary unique id to
I have a web application running on Windows IIS. This app has a database
I have a Web server that updates its data once per minute, and want
I currently have a website setup where unique links are generated every time a
I have several tables whose only unique data is a uniqueidentifier (a Guid) column.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.