Re: Error 1146: Table 'mysql.1' doesn't exist
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'.