Ran into a similar problem under Windows NT. I can think of several possible causes, 1.) the MySQL server is not started, or 2), as was in my case, the MySQL server came up as a service and not as a Standalone server, which means the localhost connects didn't work (I think). I use WinMySQLadmin as a controller for the DB Server and placed a shortcut to that application in my startup directory. By default it seemed to start things as a Service, but if I shut down the service, and restarted the server as Standalone, the admin tool seemed to remember to activate things standalone on the next reboot.
good luck, Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658 -----Original Message----- From: Peter Ruan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 2:33 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] PHPTriad 2.11 (MySQL) connect problem. Hi, I have installed PHPTriad 2.1.1 under Windows XP. When I run phpmyAdmin I got this error. Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in C:\apache\htdocs\phpmyadmin\lib.inc.php on line 255 Error It used to work under Win2K. What's the work around? Thanks, Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php