Bug #15319 Updated: mysql_connect not accepting arguements
| From: | mfischer@php.net | Date: | Fri, 01 Feb 2002 05:05:33 +0000 |
| Subject: | Bug #15319 Updated: mysql_connect not accepting arguements | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78730@lists.php.net to get a copy of this message | ||
ID: 15319
Updated by: mfischer
Reported By: admin@trinexx.com
Old Status: Open
Status: Bogus
Bug Type: MySQL related
Operating System: Red Hat 7.2
PHP Version: 4.1.1
New Comment:
Please ask support questions at php-general@lists.php.net
Previous Comments:
------------------------------------------------------------------------
[2002-01-31 21:34:10] admin@trinexx.com
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 this bug report at http://bugs.php.net/?id=15319&edit=1