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 9156339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:45:12+00:00 2026-06-17T12:45:12+00:00

I want to ask about connect database at website to my office database. I

  • 0

I want to ask about connect database at website to my office database.

I have a website that hosted at a shared hosting server. I’m using PHP for the web and MySQL for database. Now, what I want is my website at the server connect to my MySQL database at my office database. Is there anyway to do that?

What I can do right now is my office app connect to database at web (remote MySQL) but what I need is the opposite, my web connect to my office database.

Sorry for my bad English.

  • 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-06-17T12:45:13+00:00Added an answer on June 17, 2026 at 12:45 pm

    MySQL is network database server and you can login from anywhere…

    … if there is a network connection between computers 🙂

    1. You just have to configure MySQL user permissions and allow login from that other machine (its IP-configurable, or you can allow any IP). By default MySQL user can login only from localhost. More information (you can use IP instead of domain)

    2. You may have to ask your home/office internet provider (or network admin) to provide/configure “public IP”.

    3. You may need to set up “virtual server” on your home/office router and configure any firewalls in home/office. MySQL uses 3306 port by default.

    4. Added later: you may have to enable TCP/IP protocol in MySQL configuration. More…

    One more thing – “localhost” means connecting computer to itself without network. If you are talking about 2 computers – better say “other computer” or “home computer”, not “localhost”.

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

Sidebar

Related Questions

I want to ask about create user and database from PHP Code. I have
hihi i have a question that i want to ask about c# and window
I want to ask about how to connect my localhost application (C:xampp/htdocs/myproject) to database
i want to ask about ASP.Net Configuration. i have a project that use ASP.Net
I want to ask about an edge-case scenario that I understand is very poor
i just want to ask about my html code here, i have a bit
Yes, as you might guess, I want to ask about Cloud-computing. I doubt that
I want to ask about software design. I have a task, the view controller
Hi I have about 16 20+ gb files on a server that I need
I want to ask about optimisation in JavaScript if else statement.I have the code

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.