MySQL のエラーコード
- 1045Access denied for user (using password: YES/NO)(ユーザーのアクセス拒否)
- 1062Duplicate entry for key(キーの重複エントリ)
- 1213Deadlock found when trying to get lock; try restarting transaction(ロック取得時にデッドロックを検出)
- 1205Lock wait timeout exceeded; try restarting transaction(ロック待機タイムアウトを超過)
- 1040Too many connections(接続数が多すぎる)
- 1064You have an error in your SQL syntax(SQL 構文エラー)
- 1146Table doesn't exist(テーブルが存在しない)
- 1054Unknown column in field list(フィールドリストに不明な列)
- 2002Can't connect to local MySQL server through socket(ソケット経由でローカル MySQL サーバーに接続できない)
- 2003Can't connect to MySQL server (TCP/IP)(MySQL サーバーに接続できない)
- 2006MySQL server has gone away(MySQL サーバーとの接続が失われた)
- 1114The table is full(テーブルが満杯)
- 1215Cannot add foreign key constraint(外部キー制約を追加できない)
- 1451Cannot delete or update a parent row: a foreign key constraint fails(親行を削除/更新できない: 外部キー制約違反)
- 1452Cannot add or update a child row: a foreign key constraint fails(子行を追加/更新できない: 外部キー制約違反)
- 1366Incorrect string/integer value for column(列に対する文字列/整数値が不正)
- 1044Access denied for user to database(データベースへのアクセス拒否)
- 1264Out of range value for column(列の範囲外の値)
- 1052Column 'x' in field list is ambiguous(フィールドリストの列が曖昧)
- 1136Column count doesn't match value count(列数と値の数が一致しない)
- 1048Column 'x' cannot be null(列は NULL にできない)
- 1292Incorrect datetime value / truncated incorrect value(日時の値が不正 / 不正な値の切詰め)
- 1406Data too long for column(列に対してデータが長すぎる)
- 1071Specified key was too long; max key length is 767 bytes(キーが長すぎる)
- 1050Table already exists(テーブルがすでに存在する)
- 1051Unknown table 'x'(不明なテーブル)
- 1091Can't DROP 'x'; check that column/key exists(DROP できない。列/キーの存在を確認)
- 1093You can't specify target table 'x' for update in FROM clause(FROM 句で更新対象テーブルは指定できない)
- 1305PROCEDURE does not exist(プロシージャが存在しない)
- 1227Access denied; you need (at least one of) the PRIVILEGE(アクセス拒否。権限が必要)
- 3730Cannot drop table referenced by a foreign key constraint(外部キー制約で参照されているテーブルは削除できない)
- 2013Lost connection to MySQL server during query(クエリ中に MySQL サーバーとの接続が失われた)
- 1153Got a packet bigger than 'max_allowed_packet' bytes(max_allowed_packet より大きいパケットを受信)
- 1969MariaDB: Query execution was interrupted (max_statement_time exceeded)(クエリの実行が中断された)
- 1927MariaDB: ER_CONNECTION_KILLED: Connection was killed(接続が強制終了された)
- 1290ER_OPTION_PREVENTS_STATEMENT: running with the --read-only option(--read-only オプションで稼働中)
- 1836ER_READ_ONLY_MODE: Running in read-only mode(読み取り専用モードで稼働中)
- 3819ER_CHECK_CONSTRAINT_VIOLATED: Check constraint is violated(CHECK 制約違反)
- 1118ER_TOO_BIG_ROWSIZE: Row size too large(行サイズが大きすぎる)
- 1170ER_BLOB_KEY_WITHOUT_LENGTH: BLOB/TEXT column used in key specification without a key length(キー長を指定せずに BLOB/TEXT 列をキーに使用)
- 1592ER_BINLOG_UNSAFE_STATEMENT: Unsafe statement written to the binary log(安全でない文がバイナリログに書き込まれた)
- 3140ER_INVALID_JSON_TEXT: Invalid JSON text(無効な JSON テキスト)
- 1526ER_NO_PARTITION_FOR_GIVEN_VALUE: Table has no partition for value(値に対応するパーティションがない)
- 1049Unknown database 'name'(不明なデータベース 'name')
- 1364Field 'name' doesn't have a default value(フィールド 'name' にデフォルト値がない)
- 1206The total number of locks exceeds the lock table size(ロックの総数がロックテーブルのサイズを超えた)
- 1236Got fatal error 1236 from master when reading data from binary log(バイナリログの読み取り中にマスターから致命的エラー 1236)
- 1129Host 'host' is blocked because of many connection errors(接続エラーが多いためホスト 'host' がブロックされた)
- 1194Table 'name' is marked as crashed and should be repaired(テーブル 'name' がクラッシュとしてマークされ修復が必要)
- 1615Prepared statement needs to be re-prepared(プリペアド文の再準備が必要)
- 1553Cannot drop index needed in a foreign key constraint(外部キー制約で必要なインデックスは削除できない)
- 3948Loading local data is disabled; this must be enabled on both the client and server sides(ローカルデータの読込みは無効。クライアントとサーバーの両側で有効化が必要)
- 1075Incorrect table definition; there can be only one auto column and it must be defined as a key(不正なテーブル定義。自動採番列は 1 つのみでキーとして定義が必要)
- 1055Expression not in GROUP BY (only_full_group_by)(GROUP BY にない式)
- 1267Illegal mix of collations(照合順序の不正な混在)
- 1030Got error N from storage engine(ストレージエンジンからエラー N を受け取った)
- 1197Multi-statement transaction required more than 'max_binlog_cache_size'(複数文トランザクションが 'max_binlog_cache_size' を超える領域を必要とした)
- 1785Statement violates GTID consistency(文が GTID 整合性に違反)
- 3024Query execution was interrupted, maximum statement execution time exceeded(最大文実行時間を超えたためクエリの実行が中断された)
- 1298Unknown or incorrect time zone(不明または誤ったタイムゾーン)
- 1418Function has none of DETERMINISTIC, NO SQL, or READS SQL DATA (binary logging enabled)(関数に DETERMINISTIC、NO SQL、READS SQL DATA のいずれもない (バイナリログ有効))
- 1231Variable can't be set to the value of ...(変数を ... の値に設定できない)