Error
Error Code:
1347
MySQL Error 1347: Invalid Object Type Reference
Description
MySQL Error 1347, '%s.%s' is not %s, indicates that a database object is being referenced in a context where a different type of object is expected. This error commonly occurs when a query or operation attempts to use an object (like a table, view, or routine) that does not match the expected type for that specific SQL construct.
Error Message
'%s.%s' is not %s
Known Causes
3 known causesIncorrect Object Type Reference
Attempting to use a database object (e.g., a table) in a context that specifically expects a different type of object (e.g., a view or stored procedure).
Function/Procedure Mismatch
Invoking a stored procedure in a SQL expression or context that requires a return value from a function, leading to a type mismatch.
Misplaced Schema Reference
Providing a database or schema name where a specific table, view, or routine name is expected within a query or DDL statement.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service