Error
Error Code:
1585
MariaDB Error 1585: Function Name Collision
Description
This error occurs when you attempt to create a user-defined function (UDF) in MariaDB, but the name you've chosen for your function is already in use by a built-in, native MariaDB function. MariaDB prevents the creation of UDFs with names that conflict with its internal functions to maintain system integrity and avoid unexpected behavior.
Error Message
This function '%s' has the same name as a native function
Known Causes
3 known causesAccidental Naming Conflict
You may have inadvertently selected a function name that, unknown to you, is already reserved and used by a native MariaDB function.
Attempt to Override Native Function
There might be an attempt to redefine or replace a core MariaDB function, which is strictly prohibited by the database system.
Insufficient Name Research
Before defining your function, a comprehensive check of existing native function names was not performed, leading to a name collision.
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