|     DBD::mysql::db do failed: INSERT, DELETE command denied to user
|     'user'@'localhost' for table 'faketable' [for Statement "LOAD DATA
|     LOW_PRIORITY LOCAL INFILE '/tmp/GNjPykldGgfakedb.faketable.dat'
|     REPLACE  INTO TABLE fakedb.faketable CHARACTER SET utf8 FIELDS
|     TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY
|     '\n' (client,param,value)"]


Could it be that this is rather a MySQL issue than a DBI one?
MySQL will issue the "permission denied" error instead of an "object not
found" fatal error when your used ID does not have permission to read the
metadata (list the table names) from the particular database (aka schema).
Try (temporarily) modifying the grants for that user, e.g. "GRANT SELECT ON 
*.*",
and see if the changed error message (object not found) is catched by your
eval block.

--      Peter Vanroose,
        ABIS Training & Consulting,
        Leuven, Belgium.


Reply via email to