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 using MySql Workbench and WAMP Server. I have a database on the server
I am using wamp server, it comes with mysql 5.5.16 and I am trying
Using mysql 5.5.2 on windows (Wamp) I'm writing a Java application that use several
Iam trying to make a connection between my database on the MYSQL(iam using the
I've designed a database management system using Java and MySQL. I used WAMP as
I want to take backup of database. I am using mysql databse and wamp
Hi I'm new to php mysql development. I'm using wamp server on windows. php5.3.4,
I'm using wamp server. And I use dreamweaver to create php files. Here is
Using MySQL, How do I import a user defined database function from one db
Im using MySQL with PDO PHP scripts to maintain a user database and a

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.