php-general | 2001072
Date: 07/31/01
- Next message: Yasuo Ohgaki: "[PHP] Re: Trying to avoid code exploits.."
- Previous message: Johnny Nguyen: "RE: [PHP] Counting Multidimensional Arrays, Solution Found"
- In reply to: CGI GUY: "Fwd: Re: [PHP] dumb mysql_connect issue"
- Next in thread: Data Driven Design: "Re: Re: [PHP] dumb mysql_connect issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Yasuo Ohgaki: "[PHP] Re: Trying to avoid code exploits.."
- Previous message: Johnny Nguyen: "RE: [PHP] Counting Multidimensional Arrays, Solution Found"
- In reply to: CGI GUY: "Fwd: Re: [PHP] dumb mysql_connect issue"
- Next in thread: Data Driven Design: "Re: Re: [PHP] dumb mysql_connect issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

