On 27/02/07, Jim Hu jimhu@tamu.edu wrote:
from within function "Database::select". MySQL returned error "1103: Incorrect table name 'wikibox_db.box' (jim-hus-computer.local)".
You're using one of the query builder functions, which will automatically add the database name and table prefix to the table name passed to them. This is noted in the documentation, albeit the wrong documentation - it's in the comment for Database::tableName().
To work around this, either:
1. Use Database::query() directly 2. Wrap the table name in `backquotes` and the database functions won't mess with it
- How do I set the wiki to not hide the sql query from me?
$wgShowSQLErrors = true;
Rob Church