Just today one of our PHP apps has started showing MySQL connection errors randomly ('Can't connect to MySQL server on 'localhost' (10048)'). Some surfing suggests that a possible cause is TCP ports (this is a Windows server, unfortunately). http://dev.mysql.com/doc/refman/5.0...ver.html#can-not-connect-to-server-on-windows How can I check to see if this IS the problem? Is there a perfmon counter I can look at to check how many ports are in use? Any help or suggestions of other causes appreciated. Jon
If your php script is saying can't connect to mysql, that means your mysql is not running or your php script is not being able to connect with mysql. Can you try restarting your mysql?