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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:08:59+00:00 2026-05-29T10:08:59+00:00

We have a tasty mysql master + master setup running. This helps greatly during

  • 0

We have a tasty mysql master + master setup running.

This helps greatly during some of the strange issues with innodb we have been having. But that’s another question…

In order to further optimize this mysql master + master setup, we would like to lower the mysql_connect timeout to something more like 1/2 a second. The database connection is all on a 1GB lan connection, all servers are of a higher-end, so chances are FAIRLY high that if a server doesn’t handshake within 0.5 secs, something is astray and connecting to one of the fail over servers would be a good idea. Currently we cannot go any lower then 1 second 🙁

Anyone know how to accomplish this?

Thanks!

  • 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-29T10:09:00+00:00Added an answer on May 29, 2026 at 10:09 am

    You will not be able to accomplish this, not even by modifying PHP source (perhaps modifying mysql source can help)…if you look at PHP source code at http://svn.php.net/viewvc/php/php-src/trunk/ext/mysql/php_mysql.c?view=markup you will see that number of seconds read from php.ini is just set to mysql options, and from there, mysql is responsible for that timeout. It might happen that you can achieve that by modifying MySQL source code, but the question is are you ready to do that, for “I’m not sure how big” benefit you will have at the end…

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

Sidebar

Related Questions

I have a CSV file formatted just like this: name,color,tasty,qty apple,red,true,3 orange,orange,false,4 pear,greenish-yellowish,true,1 As
I have faced this problem quite often during the last couple of months, during
I have been trying to do this for months, and months, and months, and
Hi and thank you again for looking into this question. I have one mysql
Have you managed to get Aptana Studio debugging to work? I tried following this,
I actually have two questions, both are probably simple, but for some odd reason
I have a documentFragment with several child nodes containing some .data() added like so:
I'm building a RESTful app on Django and Tasty Pie. I have a problem
I have some flexibility here so I'm looking for some advice before I lock
I think I have got some grasp over basic WPF fundaes. Now I want

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.