Re: SELECT errors out saying a column doesn't exist that SHOW COLUMNS thinks does exist On 9 Feb 2007 09:52:52 -0800, "yawnmoth" <terra1024@yahoo.com> wrote:
>When I do "SELECT port, behavior FROM ip_addresses", I get an error
>1054: Unknown column 'port' in 'field list'.
>
Try
"SELECT `port`, behavior FROM ip_addresses"
and see if that works - if so, MySQL is treating "port" as a "reserved
word".
Lee |