From: [EMAIL PROTECTED]
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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]