I have two dedicated servers. One Linux(FC5) webserver and one Windows(Server 2003) dedicated for MySQL.
The linux server hosts a big website that runs under PHP5. When i try to connect from PHP to the windows server, it takes almost 4 seconds before the connection is made. This delay is way too long for my web-application.
The connection is made on this way in PHP:
Code: Select all
mysql_connect($remote_sql_server, $db_user, $db_pass, false, 2);Thanks