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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T14:43:30+00:00 2026-06-07T14:43:30+00:00

I just installed a fresh xampp beta 13 installation however I noticed in my

  • 0

I just installed a fresh xampp beta 13 installation however I noticed in my zend application profiler that connect to mysql database is so slow. I have refreshed many times but same slow result.

1020.84ms   connect
0.39ms  SELECT `tipo_usuario`.* FROM `tipo_usuario`
0.40ms  SELECT `palestra`.* FROM `palestra` ORDER BY `hora_inicio_prevista` asc

One friend has tested same application on other machine and It is normal, connect in less than 50 ms. I am using pdo mysql dll driver version 5.4.4.0, Client API version mysqlnd 5.0.10 – 20111026.

My environment: Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4

Any idea why connecting is slow?

  • 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-07T14:43:31+00:00Added an answer on June 7, 2026 at 2:43 pm

    As discussed in the comments: changing localhost to 127.0.0.1 in the connection function often solves connection issues with PDO. Here is a thread that covers this topic on more detail.

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

Sidebar

Related Questions

I just installed dnn 6.2 fresh as a .net 3.5 application on windows 7
I just installed a fresh copy of Kohana 3.2, built my database, wrote my
Just installed EE everything seems clear however I can't seem to find a solution
I just installed a fresh copy of mediawiki on http://konton.us/wiki I was all happy
I am new to ruby. I've just installed Ruby and Rails on my fresh
I just fresh-installed Emacs + SLIME + CCL on Ubuntu following the steps described
I've just downloaded and installed Visual Studio 11 Beta. I looks great and I
I just made a fresh copy of eclipse and installed pydev. In my first
I have just installed VMWare Server 2.0 on a fresh Fedora Core 8 install.
I've just installed Eclipse with fresh Android SDK and ADT on Windows 7 x64

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.