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:
http://stackoverflow.com/questions/8432 ... 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 '127.0.0.1' brought back things to normal -
// 7.
// MySQL hostname (it will usually be 'localhost')
//define( 'K_DB_HOST', 'localhost' ); // slowwwwww
define( 'K_DB_HOST', '127.0.0.1' ); // 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
cron