Warning
Error Code:
3124
MySQL Error 3124: Invalid Query Execution Time
Description
Error 3124 indicates that a query attempted to use the `MAX_EXECUTION_TIME` hint in an unsupported manner. This typically occurs when the hint is used in an invalid context, with an incorrect value, or on a MySQL version that does not support it.
Error Message
Unsupported MAX_EXECUTION_TIME
Known Causes
4 known causesIncompatible MySQL Version
The `MAX_EXECUTION_TIME` hint was introduced in MySQL 5.7.8; using it on older versions will result in this warning.
Invalid Time Value
The `MAX_EXECUTION_TIME` value must be a non-negative integer representing milliseconds; incorrect values will trigger this warning.
Unsupported Statement Type
The `MAX_EXECUTION_TIME` hint is only applicable to `SELECT` statements; using it with other DML or DDL statements is not supported.
Server Configuration Restrictions
Certain server configurations or global settings might restrict the use or override of `MAX_EXECUTION_TIME` hints.
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