Error
Error Code:
1124
MariaDB Error 1124: Shared Library Path Restriction
Description
Error 1124 indicates that MariaDB detected an attempt to load a User-Defined Function (UDF) from a shared library specified with a full or relative path. For security reasons, MariaDB restricts UDF shared libraries to be located within a designated plugin directory, disallowing explicit path specifications in `CREATE FUNCTION` statements.
Error Message
No paths allowed for shared library
Known Causes
3 known causesExplicit Path in CREATE FUNCTION
The `CREATE FUNCTION` statement included a full or relative path to the shared library file, which is not permitted by MariaDB.
Library Outside Plugin Directory
The shared library file for the UDF is not located in MariaDB's designated plugin directory, leading to an attempt to specify its location.
Strict Security Configuration
MariaDB's security settings are configured to strictly disallow UDFs from being loaded via any path specification for enhanced protection.
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