All Products
Search
Document Center

Lindorm:Common error codes

Last Updated:Mar 28, 2026

When you use Lindorm SQL to access LindormTable or LindormTSDB, the system returns error codes to indicate exceptions or program errors. Search for an error code in the tables on this page to find the corresponding error message and resolution.

Common errors

The following error codes are compatible with some MySQL server-side error codes. If you are familiar with MySQL application development, you can apply the same exception-handling patterns here.

SQLSTATE is a specification defined in the SQL-92 standard that is used to classify and handle SQL-level errors and exceptions in applications.

Error codeSQLSTATEError message formatResolution
1005HY000Can't create table '%s'Check whether the CREATE TABLE statement is correct.
1006HY000Can't create database '%s' (errno: %d - %s)Check whether the input parameters are correct based on the error message.
1007HY000Can't create database '%s'; database existsThe database already exists. Use a different name.
1008HY000Can't drop database '%s'; database doesn't existThe database does not exist. Provide the correct database name.
1009HY000Error dropping database (can't delete '%s', errno: %d - %s)Check the error message for the cause. If the issue persists, contact Lindorm technical support.
1030HY000Got error %s from storage engine: %sAn uncategorized storage engine error occurred. Save the error details and contact Lindorm technical support.
104008004Too many connections (current limit: %d)The number of connections on a single node has reached the limit. Retry the connection. If all nodes are at capacity, review how your application manages connections. To increase the limit for wide tables, use modify the maximum number of connections for wide tables. Default limits: SQL engine versions earlier than 2.7.0.0: 1,000 connections per node. SQL engine versions 2.7.0.0 and later: 4,000 connections per node.
104328000Bad handshake: %sConnection initialization over the MySQL protocol failed. Troubleshoot based on the error details. If the issue persists, contact Lindorm technical support.
104528000Access denied for '%s'Authentication failed. Verify the user credentials and try again.
10463D000No database selectedNo database is specified in the connection. Update the connection settings to explicitly specify a database.
104942000Unknown database '%s'The database does not exist. Specify the correct database name.
105042S01Table '%s' already existsThe table already exists. Use a different table name.
105442S22Unknown column '%s'The column name does not exist. Verify that all column names in the SQL statement are correct.
106042S21Duplicate column name '%s'A column name is specified more than once. Remove the duplicate column names from the SQL statement.
106442000You have an error in your SQL syntax; %sThe SQL statement has a syntax error. Refer to the SQL reference and correct the statement.
108242S12Table '%s' has no index like the one used in CREATE INDEX; recreate the tableThe table does not have an index compatible with the CREATE INDEX statement. Recreate the table.
114642S02Table '%s.%s' doesn't existThe table does not exist. Verify the table name.
117042000BINARY/CHAR column '%s' used in column specification without a key lengthThe length is not specified for a BINARY or CHAR column. Update the CREATE TABLE statement to explicitly specify the length.
121142000'%s'@'%s' is not allowed to create new users; %sThe current user does not have permission to create new users. Grant the required permission first.
122742501Access denied: %sThe user does not have sufficient privileges on the target object. Verify and grant the required privileges.
1243HY000Unknown prepared statement id (%d)The prepared statement was not found. This can occur when binding parameters before preparing the statement. Prepare the statement again. If the issue persists, contact Lindorm technical support.
125108004Client does not support authentication protocol requested by server; consider upgrading MySQL clientThe client driver does not support the authentication method required by the server. Refer to the Lindorm MySQL protocol compatibility documentation. Explicitly specify a supported authentication method or upgrade the client driver.
1295HY000This command is not supported in the prepared statement protocol yetMultiple statements in a single prepared statement call are not supported. Update your prepared statement logic to use one statement at a time.
1390HY000Prepared statement contains too many placeholdersThe SQL statement has too many parameters. A single MySQL protocol message supports a maximum of 65,535 parameters. Reduce the number of parameter placeholders in the prepared statement.
146142000Can't create more than max_prepared_stmt_count statements (current value: %d)The number of simultaneously prepared statements on a single node has reached the limit (default: 10,000). Review your application logic to avoid preparing too many statements at once.
1470HY000String '%s' is too long for %s (should be no longer than %d)The object name exceeds the maximum length. Rename the data object to meet the length limit shown in the error message.
1815HY000Internal error: %sAn uncategorized internal error occurred. Contact Lindorm technical support.

Extended errors

The following error codes cover Lindorm-specific exception scenarios. Handle these errors in your application based on the SQLSTATE class and the resolution in each row. If you cannot resolve an error, contact Lindorm technical support (DingTalk ID: s0s3eg3).

Error codeSQLSTATEError message formatResolution
197342000Can't create user '%s'; it already existsThe user already exists. Check the list of existing users.
197442000Can't drop user '%s'; it doesn't existThe user does not exist. Check the list of existing users.
197542000Can't alter user '%s'; it doesn't existThe user does not exist. Check the list of existing users.
197642000Can't alter user '%s'; %sThe user cannot be modified. Check the error message for the specific cause. If the issue persists, contact Lindorm technical support.
300242L01Inconsistent usage of database '%s' and '%s'The target database differs from the database of the current connection. Update the connection properties or use the USE statement to switch to the correct database.
3024HY000Query execution was interrupted, maximum statement execution time exceededThe query timed out. Retry the operation. If timeouts persist, contact Lindorm technical support.
3025HY000Query execution was canceledThe query was canceled while fetching results. Retry the query.
3163HY000%sThe user already exists. Check the list of existing users.
8000HY000Can't alter database '%s' (errno: %d - %s)The database cannot be modified. Check whether the input parameters are correct based on the error message.
8001HY000Can't create continuous query '%s' (errno: %d - %s)The continuous query cannot be created. Check whether the input parameters are correct based on the error message.
8002HY000Can't create continuous query '%s'; continuous query existsThe continuous query already exists. Use a different name.
8004HY000Continuous query '%s.%s' doesn't existThe continuous query does not exist. Verify the name.
8005HY000Table '%s' not foundThe table does not exist. Verify the table name.
8006HY000Query failed; %sThe query failed. Check the error message for the cause. If the issue persists, contact Lindorm technical support.
8007HY000Insert failed; %sThe write operation failed. Check the error message for the cause. If the issue persists, contact Lindorm technical support.
8008HY000Quota exceeded; %sA resource quota was exceeded. For query operations, narrow the time range or add WHERE conditions to reduce the data volume. For write operations, limit the transactions per second (TPS).
8009HY000Can't drop predownsample; %sThe pre-downsampling rule cannot be deleted. Check the error message for the cause. If the issue persists, contact Lindorm technical support.
8010HY000Can't show predownsample; %sThe pre-downsampling rule cannot be displayed. Check the error message for the cause. If the issue persists, contact Lindorm technical support.
801142000Unknown data type: %sThe actual data type conflicts with the expected type during reading or writing. Check the error message for the specific cause. If the issue persists, contact Lindorm technical support.
801242000Illegal operation: %sThe SQL statement is incorrect or the provided data is invalid. Review the statement against the SQL syntax documentation.
801342000Cannot grant privilege '%s' to: %s; %sGranting the privilege failed. Check the error message for the cause.
801442000Cannot revoke privilege '%s' to: %s; %sRevoking the privilege failed. Check the error message for the cause.
8015HY000Failed to alter parameter; %sThe system configuration could not be modified. Check the error message for the cause.
8016HY000Failed to show parameter; %sThe system configuration could not be displayed. Check the error message for the cause.
801742611Column name "%s" conflicts with a system column nameThe column name in the Data Definition Language (DDL) statement conflicts with a system hidden column name. Rename the column based on the details in the error message.
801842000DECIMAL column '%s' type should be specified with precision and scaleThe DECIMAL data type in the DDL statement is missing precision and scale values. Update the statement to specify both.
810008003The connection does not exist; %sThe connection session has been released by the server. Re-establish the connection.
9000HY000Server internal error; %sAn internal server error occurred. Contact Lindorm technical support.
90010A000UNSUPPORTED: %sThe SQL syntax is not supported. Check the SQL documentation and avoid unsupported syntax.
9002HY000Function %s can only be used in domain-specific dialect (Time-series, etc.)The function is only available in a specific dialect, such as LindormTSDB. Review the SQL statement against the correct dialect documentation.
900328000The authentication method %s cannot apply to the old-fashion user, please consider to use another method.The authentication method is not compatible with users created on older engine versions. Refer to Develop applications using the MySQL protocol for compatibility details. Explicitly specify a supported authentication method or upgrade the client driver.
900408004The authentication method %s not available for the current deployment, please consider to use another method.The authentication method is not available for the current instance deployment. Refer to the Lindorm MySQL protocol compatibility documentation. Explicitly specify a supported authentication method or upgrade the client driver.
9006HY000Analytical processing error; %sAn error occurred during analytical query execution. Save the error details and contact Lindorm technical support.
9010XX000The storage engine request illegal: %sAn invalid internal storage engine communication request occurred. Save the error details and contact Lindorm technical support.
9011HY000Database protocol error: %sA MySQL protocol message error occurred. Save the error details and contact Lindorm technical support.