MYSQL error code. MYSQL error code and error information are sorted according to mysql header file mysqlincludemysqld_error.h according to mysql error code table. Correct the error. 1005: create a table error code and error information for MYSQL. compare the error code table with the mysql error code table, and sort it according to the mysql/include/mysqld_error.h header file. Correct the error. 1005: table creation failed 1006: database creation failed 1007: database already exists, database creation failed 1008: database not found, database deletion failed 1009: database files cannot be deleted, resulting in database deletion failure 1010: failed to delete the database because the data directory cannot be deleted. 1011: failed to delete the database file. 1012: unable to read the records in the system Table. 1020: the records have been modified by other users. 1021: insufficient space on the hard disk, please increase hard disk space 1022: duplicate keywords, change record failed 1023: close error 1024: Read file error 1025: change name error 1026: Write file error 1032: record does not exist 1036: the data table is read-only and cannot be modified. 1037: the system memory is insufficient. restart the database or restart the server. 1038: the memory used for sorting is insufficient. increase the sorting buffer by 1040: the maximum number of connections to the database has been reached. Please increase the number of available connections to the database by 1041: the system memory is less than 1042: the host name is invalid 1043: the connection is invalid 1044: the current user has no permission to access the database 1045: cannot connect to the database. username or password error 1048: field cannot be blank 1049: database does not exist 1050: Data table already exists 1051: Data table does not exist 1054: field does not exist 1065: invalid SQL statement, SQL statement is empty 1081: cannot establish Socket connection 1114: the data table is full, cannot accommodate any records 1116: too many open data tables 1129: database exception, please restart the database 1130: database connection failed, no database connection permission 1133: database user does not exist 1141: current user does not have access to database 1142: current user does not have access to data table 1143: current user does not have access to fields in data table 1146: Data table does not exist 1147: undefined user access permission to Data Table 1149: SQL statement syntax error 1158: network error, read error, check network connection status 1159: network error, read timeout, check network connection status 1160: network error and write error. check network connection status 1161: network error and write timeout. check network connection status 1062: repeated field values, failed to import database 1169: repeated field values, failed to update record 1177: failed to open data table 1180: failed to submit transaction 1181: failed to roll back transaction 1203: the maximum number of connections established between the current user and the database has reached the database. increase the number of available database connections or restart the database 1205: lock timeout 1211: the current user does not have the permission to create a user 1216: failed to check foreign key constraints, failed to update sub-table records 1217: failed to check foreign key constraints, failed to delete or modify master table records 1226: the resources used by the current user have exceeded the allowed resources, please restart the database or restart the server 1227: You are not authorized to perform this operation 1235: MySQL version is too low, does not have this function
Bytes. Correct the error. 1005: table creation error...