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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:10:55+00:00 2026-05-17T01:10:55+00:00

I am using MySQL on wamp server. It takes 0.6 secs to establish a

  • 0

I am using MySQL on wamp server. It takes 0.6 secs to establish a connection with mysql database, however when I use persistence connection it takes 0.035 secs. I read people comments on php manual and found that mysql_pconnect runs out of connections soon. Any suggestion how to improve connectivity time?

  • 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-17T01:10:55+00:00Added an answer on May 17, 2026 at 1:10 am

    There’s no way it should take 0.6 seconds. Slow connection time is almost always related to DNS lookups.

    Try starting your MySQL Server with skip_name_resolve option enabled in your my.ini file.


    Re your comments that you cannot connect: It’s hard to guess the reason for this because there are so many reasons for a connection failure.

    • Error 1045 Access denied: See Causes of Access-Denied Errors. You may have GRANTed privilegs to a mysql user in such a way that doesn’t enable that user when connecting via localhost/127.0.0.1.

    • Error 2003 Can’t connect to MySQL server: See Can’t connect to [local] MySQL server or the article on the MySQL Forge: Error2003-CantConnectToMySQLServer

    There are other connection troubleshooting steps, but they depend on the nature of the failure. Can you be more specific about what error message you’re getting?

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

Sidebar

Related Questions

I'm building a wepage in php using MySQL as my database. Which way is
Using MySQL , I can do something like: SELECT hobbies FROM peoples_hobbies WHERE person_id
Using MySQL syntax and having a table with a row like: mydate DATETIME NULL,
Using MySQL syntax, how would I write a query to return the following (I
Note: Using MySQL 4.0, which means no subqueries (at present). I have 2 tables:
I'm using MySQL in particular, but I'm hoping for a cross-vendor solution. I'm using
I am using MySQL and PHP for a project I am working. I have
We are currently using Mysql version 5.0 in our application and are thinking of
We are using MySQL version 5.0 and most of the tables are InnoDB. We
I've developed an application at working using MySQL 5, that uses Views to access

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.