Hi!
I have a question about php and MySQL connection issue. My server is located on host company. I have MySQL 4.0.20a install in that machine and OS is windows server 2003.
I create a intranet web-based application and connect to the remote MySQL database server. Sometime I got the following error message:
Warning: mysql_connect(): Can't connect to MySQL server on 'x.x.x.x' (10060) in E:\intranet\htdocs\intranet\scripts\helper.inc on line 165
In line 165, the code ($dbHandle = mysql_connect(DBSERVER, DBUSER, DBPASS)😉 just tries to connect to the MySQL database.
If I reload the page, then it becomes O.K.
Does anyone know what kind of the problem is? How can I fix it?
Thanks everyone.