No extra parameters have been added to the mysql_connect() function. The error you're seeing is straight from mysql...so it's really not php. Mysql says "Using password: YES" because you're trying to login in with a password. If you took out "password" in the mysql_connect() function, it'd say "Using password: NO".
Go into mysql and make sure the username/password haven't been changed and make sure the machine that php is on is allowed to connect to the mysql server. Good luck, -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Mon, 22 Jul 2002 08:32:35 -0700 "Brian McLaughlin" <[EMAIL PROTECTED]> wrote: > We recently upgraded to php 4.2.1 with Apache and our scripts that > access MySQL now fail in mysql_connect(). Apache shows the > following: > > Warning: Access denied for user: '[EMAIL PROTECTED]' (Using > password: YES) in /var/apache/share/scripts/ais/itweb/projects.php on > line 40 > > Warning: MySQL Connection Failed: Access denied for user: > '[EMAIL PROTECTED]' (Using password: YES) in > /var/apache/share/scripts/ais/itweb/projects.php on line 40 > Sorry... Could not connect to database > > Not sure why it says it's using password: YES. The call is > mysql_connect("host", "fred", "password") as it always has been. I > thought that perhaps the function call has changed to include an extra > parameter or something, but haven't found anything that says that's > true. > > Can someone tell me what I can do to get these scripts working again? > All of my scripts that use MySQL are failing in this same way. > > Thanks, > > Brian McLaughlin > [EMAIL PROTECTED] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php