Error
Error Code:
1128
MariaDB Error 1128: Undefined Function Call
Description
Error 1128 indicates that a SQL statement attempted to invoke a function that the MariaDB server could not find or access. This typically occurs when the function has not been created, is misspelled, or is not available within the current database or user scope.
Error Message
Function '%s' is not defined
Known Causes
3 known causesFunction Not Defined
The SQL function referenced in the query has not been created or registered within the MariaDB server or the current database.
Typographical Error
A spelling mistake in the function name within the SQL query prevents MariaDB from identifying an existing function.
Incorrect Database Scope
The function exists but is defined in a different database or schema than the one currently active, or the user lacks necessary privileges.
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