SUSE 10.1 PHP Version 5.1.2 MySQL Client API version 5.0.18 Apache/2.2.0 (Linux/SUSE) I can't get php5 to connect to mysql 5. With or without a password. [pre]<html><body><h1>Test MySQL Database connection</h1> <h2> <?php // (1) //$mysql= new mysqli("localhost", "galewpuser", "galewppass", "galewp"); // (2) $mysql= new mysqli("localhost", "galewpuser", "", "galewp"); printf("Error: %s\n", mysqli_connect_error()); ?> </h2> </body></html>[/pre] results of (1) with the correct password set with MySQL Administrator are Error: Access denied for user 'galewpuser'@'localhost' (using password: YES) results of (2) with password set to "" are Error: Access denied for user ''@'localhost' to database 'galewp' all privs are granted between galewpuser and the galewp database no other privs are granted between galewpuser and any other catalogs. I had this working on WinXP with php4 and mysql4 and had to use OLD_PASSWORDS to make it work. I thought that OLD_PASSWORDS were history in these "5" days. see phpinfo attachement Thanks, ww [attachment deleted by admin]