Coded something up in Couch in an interesting way? Have a snippet or shortcode to share? Post it here for the community to benefit.
3 posts Page 1 of 1
This helped a lot: ... r-21138562

Diabled IPV6 on localhost. Now everything is rocket-fast.

edit mysql file 'my.ini'

under the [wampmysqld] add the following:

bind-address = ::
Save file and restart mysql service

In my case it was a [mysqld] section.
Thanks for sharing the tip, @trendoman :)
Very useful.
Adding to what @trendoman noticed -

One local stack I was testing on was also running pretty sluggish.
Changing 'localhost' to '' brought back things to normal -
// 7.
// MySQL hostname (it will usually be 'localhost')
//define( 'K_DB_HOST', 'localhost' ); // slowwwwww
define( 'K_DB_HOST', '' ); // this change made wampp finally speed up

Reason for this problem is that with IPv6 enabled, when 'localhost' is used the connection is made to ::1.
This fails if the server is not set up for it. So using IPv4 address explicitly (or disabling IPv6 as @trendoman did) helps in rectifying the problem.
3 posts Page 1 of 1

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 2 guests