Re: PhpMyAdmin slow on windows but fast on linux
| From: | Juergen Wind | Date: | Mon, 23 Apr 2007 08:41:25 +0000 |
| Subject: | Re: PhpMyAdmin slow on windows but fast on linux | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253507@lists.php.net to get a copy of this message | ||
Don Don wrote:
>
> Hi all how can i make my phpmyadmin run fast on windows ? I installed
> phpmyadmin on a linux and windows machines, but the windows version runs
> (executes) too slow, i.e. it takes to long for a page to be loaded, while
> it take less that 3 secs for the linux version. Both however run on the
> same system config.
>
Linux tries using sockets by default if (mysql)host='localhost',
that's almost twice as fast as host='127.0.0.1' (using a tcp connection).
On a win box you need "enable-named-pipe" in your my.cnf
and connect using host='.' for connecting not using tcp.
"skip-name-resolve" can speed up things a bit as well.
For finding the bottleneck you can try and connect the
linux mysqld from your script on the win webserver
and vice versa (using tcp of course).
--
View this message in context: http://www.nabble.com/PhpMyAdmin-slow-on-windows-but-fast-on-linux-tf3627944.html#a10135939
Sent from the PHP - General mailing list archive at Nabble.com.