Does it (mysqld-shareware.exe) show up in the task managers listed processes?
If not, it is not running (which is what I suspect). Through my experience with it, the DOS box does not close. Try opening a DOS box and starting it (type 'cmd' in the run box) and see what error comes up. If you are still stumped there, write again and include the error message and the c:\windows\my.ini and-or c:\my.cnf settings. -- Loren McDonald [EMAIL PROTECTED] -----Original Message----- From: Marg Brazil [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 11:31 AM To: MySQL Subject: Can MySQL work on Windows XP? Hello, Can anyone tell me if MySQL will work on Windows XP Home Ed.? I have MySQL installed according to the instructions on the CreateASite web page. I tried contacted CreateASite with this description of the problem: "The start up looks good: when I use the Run function C:\mysql\bin\mysqld-shareware.exe, the black DOS box comes and goes, but I'm getting this error when using the MySQL test script (See below): Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in c:\usr\htdocs\mysql_test.php on line 7 Couldn't Connect I have followed the instructions for installing IndigoPerl, CreateASite, PHP, and for MySQL on www.createafreewebsite.net/mysql.html. Apache was running well at the time, and the perl and php test scripts were A-OK. Should MySQL show in WindowsXP task manager? I can only see 2 Apache.exe' s and HTMel30.exe. There's no C:\mysql\bin\mysqld-shareware.exe listed. " CreateASite response was: "I worked with a guy from Germany for 2 days trying to get the mysql package you are using to work on XP. No luck. I should probably put that on the site. I'm not saying you can't get the present package to work. Just saying I didn't on XP. " Has anyone in this discussion group had success getting MySQL to work on Windows XP? Thanks! MB MySQL test script: <html> <head> <title>MySQL Test</title> </head> <body> <? $link = mysql_connect("localhost"); if (! $link) die ("Couldn't Connect"); $db_res = mysql_list_dbs($link); $num = mysql_num_rows($db_res); for($x=0;$x < $num; $x++) print mysql_tablename( $db_res,$x)."<br>"; mysql_close($link); ?> </body> </html> --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php