I've used XAMPP in the past, but upgraded to latest version 1.7.4 (PHP 5.3.5, apache 2.0 handler) assuming it would be easy. Running Windows XP-x64. Had some problems but short story, the Control Panel 3 from May 13 (?) worked to allow me to start MySQl and Apache. Not running FTP or POP3. Changed root PW and XAMPP, MySQl and phpMy Admin all read secure.
If I then try to run the example "CD database" I get the following error:
"Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\xampp\cds.php on line 64
Could not connect to database!
Is MySQL running or did you change the password?"
I have restarted both MySQl and Apache with no effect. the other dbs don't work nor do my previous dbs from XAMPP!!... line 64 in cds.php is:
if(!mysql_connect("localhost","root",""))
I can get past this line by manually entering the root password I changed, but why isn't this file updating? Even if I do manually put in the PW, the file errors out at line 106:
while( $row=mysql_fetch_array($result) )
saying it expects something else but got a boolean (sorry, forgot the exact error). I chased this for hours, searching and can't find a definitive solution.
Please help.
Pete
EDIT: I couldn't find anything in the error logs to assist in trouble-shooting