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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:51:15+00:00 2026-05-25T06:51:15+00:00

Question: MySQL only accepts ONE IP to listen on. So you can either do

  • 0

Question:

MySQL only accepts ONE IP to listen on.
So you can either do
bind-address = 127.0.0.1
or
bind-address = 192.168.1.125

with 192.168.1.125 being the same computer as 127.0.0.1, this is, supposed you don’t want to bind to 0.0.0.0.

So if I set it to 192.168.1.125, to allow connecting to it from another computer (e.g. to administer the database, create tables, update etc), then a web application running on 192.168.1.125 will also have to connect via 192.168.1.125.

My question now is this:
Will the performance of database queries run from a web application on machine 192.168.1.125 be worse when the application connects with IP 192.168.1.125 as opposed to when it would connect as 127.0.0.1 ?

Theoretically, it would sent the query via the router back to itselfs, thus slowing performance down as opposed to the loopback interface.

So basically, is the driver/OS sophisticated enough to realize it mustn’t send the data over the network, because this isn’t necessary in this case ?

  • 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-25T06:51:16+00:00Added an answer on May 25, 2026 at 6:51 am
    traceroute 192.168.1.125
    

    on Linux, respectively

    tracert 192.168.1.125
    

    on Windows should give you the answer 🙂

    Yes, the OS is sophisticated enough to not go over the network to the router, and I’m pretty sure it will also not go via the network card. If you really want to make sure there is no performance impact, the best thing is to do some small microbenchmark and compare.

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

Sidebar

Related Questions

Sorry, newbie question I know, however I've currently got mySQL results only showing when
The only similar question I have found is: Insert php boolean into mysql bit
Similar to this question but for MySQL.... How can I programmatically determine foreign key
I have always only used MySQL and no other database system. A question came
I have a question in MySQL workbench. How can I make a relation 1
I've setup a checkbox form (each question has only one checkbox). The form is
This question is related to my previous question - MySQL query to show records
This question here: MySQL: INSERT IGNORE or ON DUPLICATE KEY UPDATE with checking multiple
My question is similar to this MySQL question, but intended for SQL Server: Is
This is a very specific question regarding MySQL as implemented in WordPress . I'm

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.