Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001072

Fwd: Re: [PHP] dumb mysql_connect issue From: CGI GUY (cgi_guy1313 <email protected>)
Date: 07/31/01

Okay, well I used the mysql_error() print-out, and it
returned something weird:

" Access denied for user: 'username <email protected>' to
database 'tablename' "

This is incongruous because:

1. The uid/password set I am using has full
privileges.
2. *tablename* is not a database (the code I listed in
my previous email is syntactically identical to the
script)-- it's a table.

Why is this happening to me?!?! ;)

Note: forwarded message attached.

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

attached mail follows:


or, echo $sql and copy/paste it into an sql client and see what it tells
you.

on 7/31/01 4:21 PM, Philip Olson at philip <email protected> wrote:

> Try putting mysql_error() in your die statements so :
>
> or die(mysql_error());
>
> and see what it tells you.
>
> Regards,
> Philip
>
>
> On Tue, 31 Jul 2001, CGI GUY wrote:
>
>> Is there anything (add. parameters, etc.) that I'm
>> missing that would possibly explain why the following
>> code won't execute?
>>

 -- mike cullerton

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>