MySQL Forums
Forum List  »  General

Re: Error 1146: Table 'mysql.1' doesn't exist
Posted by: Rick James
Date: November 22, 2009 01:39PM

Is the table name "x.y"? That syntax is reserved for database=x with table=y. If you must have a table named "x.y", then quote it with backtics: `x.y`.

If "1" is the problem, where is that coming from? There are cases, esp in Perl, where a array is used in a scalar context. Perhaps you thought you had a table name, but instead you had an array with one name in it. When you assign that to a scalar, you get '1'.

Options: ReplyQuote

Written By
Re: Error 1146: Table 'mysql.1' doesn't exist
November 22, 2009 01:39PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.