Re: php mysql access
| From: | jeremy brand | Date: | Mon, 13 Nov 2000 23:32:29 +0000 |
| Subject: | Re: php mysql access | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25056@lists.php.net to get a copy of this message | ||
Hi Thomas,
Make sure you are using the
mysql_connect() function correctly
and
mysql_select_db() function correctly.
-jeremy brand
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
---------------------------------------------------------------------
We cannot do everything at once, but we can do something at once.
-- Calvin Coolidge
On Mon, 13 Nov 2000, Thomas Holton wrote:
> Date: Mon, 13 Nov 2000 15:33:00 -0800 (PST)
> From: Thomas Holton <holton@mbi.ucla.edu>
> To: php-general@lists.php.net
> Subject: [PHP] php mysql access
>
>
> Hello.
> I try to open my mysql database with my new simple php script, but the
> first error (among others) that i get is:
> Warning: MySQL Connection Failed: Access denied for user:
> 'holton@darwin.mbi.ucla.edu' (Using password: YES) in
> /usr/httpd/html/PHP/meeting.php on line 16
>
> yet... i can access the database on darwin as holton with a password. PHP
> clearly needs something else i believe. Any ideas?
> thanks in advance
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>