Error
Error Code:
1139
MariaDB Error 1139: Invalid Regular Expression Syntax
Description
Error 1139, 'Got error '%s' from regexp', indicates that the MariaDB server encountered an issue while processing a regular expression. This typically occurs when an SQL query uses the REGEXP or RLIKE operator with a pattern that is syntactically incorrect, uses unsupported features, or conflicts with character set settings.
Error Message
Got error '%s' from regexp
Known Causes
3 known causesInvalid Regular Expression Syntax
The regular expression pattern used in the query contains a syntax error or is malformed according to the rules of MariaDB's regular expression engine.
Unsupported Regex Feature
The regular expression pattern utilizes a feature or construct that is not supported by the specific regular expression library (e.g., PCRE) or version integrated into your MariaDB server.
Character Set Mismatch
Issues can arise if the regular expression pattern or the data it's applied against has a character set or encoding that causes the regular expression engine to fail.
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