© 2013 All rights reserved.

Windows and Mysql: slow connection to database

If you have windows 7 or newer and connects to the mysql database, you may be happened that the connection is very slow.

Problem comes only when you are connecting via localhost. If you use a similar configuration of this


slow connection


Server is attempting to open a connection to localhost, but if your computer is connected via IPv6, the computer searches the first IP address that is :: 1.

After failure create server loop and redirect connection to IPv4 and search localhost here.

Will help change the configuration


slow connection


Comments are closed for this page

Hi, i am programmer from the Czech Republic. I love web development (Ruby, Ruby on Rails, PHP, Nette) and iOS development (Objective-C, Cocoa).
To cooperate, here is my phone:
+420 608 836