Have you been setting up user id's and passwords on your MySQL database, failing to connect usually means that your code can't find the tcp/ip connection, or that the logon/password failed. Connecting to a specific database is handled by other functions after connection to the database server. If you are using everything right out of the PHP Triad "box", perhaps seeing a section of your connect code would help (If you have set up other userid's, I probably can't help so don't send them).
MySQL needs to have the mysql database defined (as distributed) in order for things to work on the server. Some newbies have made the mistake of dropping databases that were not theirs. 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: Thursday, March 14, 2002 9:25 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] PHPTriad 2.11 (MySQL) connect problem. Hi Warren, Unfortunatelly, that didn't work...so I'm still stuck. :( Suggestions? >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 _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- 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