Bug #15319: mysql_connect not accepting arguements

From: Date: Fri, 01 Feb 2002 02:34:11 +0000
Subject: Bug #15319: mysql_connect not accepting arguements
Groups: php.dev 
Request: Send a blank email to php-dev+get-78723@lists.php.net to get a copy of this message
From: admin@trinexx.com Operating system: Red Hat 7.2 PHP version: 4.1.1 PHP Bug Type: MySQL related Bug description: mysql_connect not accepting arguements I'm sorry about my lack of experience with these things, and I'm not sure if this is a problem with PHP or with my server configuration. Whenever I use the mysql_connect function and store the result in a variable, the arguements aren't parsed. mysql_connect("localhost", "username", "password"); works perfectly fine. The problem arises when I use $link=mysql_connect("localhost", "username", "password"); and it says "Access denied for user apache@localhost (Using password: NO)". Yes, I recoded the script for the main page of my site, but there are many things that I shouldn't have to (i.e. it should work like that ^), like vBulletin. Like I said, I'm new at this and I don't know if it's my configuration or a problem with PHP...but I hope it's the former, and any help would be appreciated. -- Edit bug report at: http://bugs.php.net/?id=15319&edit=1

« previous php.dev (#78723) next »