Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001072

Re: Fwd: Re: [PHP] dumb mysql_connect issue From: Alexander Wagner (wagner <email protected>)
Date: 07/31/01

CGI GUY wrote:
> " Access denied for user: 'username <email protected>' to
> database 'tablename' "
>
> 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?!?! ;)

FROM table_name.column_name
is interpreted as
FROM database.table_name

Hence the confusion of database and table-names.
"FROM table_name" will suffice.

regards
Wagner

-- 
Madness takes its toll. Please have exact change.

-- 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>