14,954
edits
| Line 61: | Line 61: | ||
=== ERROR 1017 - Can't find file: '.\DATABASE\TABLE.frm' (errno: 22 - Invalid argument) === | === ERROR 1017 - Can't find file: '.\DATABASE\TABLE.frm' (errno: 22 - Invalid argument) === | ||
訊息: [Err] 1017 - Can't find file: '.\DATABASE\TABLE.frm' (errno: 22 - Invalid argument) | |||
解決方案: | 解決方案: | ||
* 檢查 DATABASE\TABLE.frm 文件是否存在。如果不存在,可能需要在執行 MySQL 查詢前先創建該表。 | * 檢查 DATABASE\TABLE.frm 文件是否存在。如果不存在,可能需要在執行 MySQL 查詢前先創建該表。 | ||
* 檢查 DATABASE\TABLE.frm 文件或所在文件夾的權限<ref>[http://stackoverflow.com/questions/12106727/mysql-copying-tables-files-gives-rise-to-error-1017-hy000-cant-find-file MySQL,複製表文件出現 “ERROR 1017 (HY000): Can't find file:” 即使它在那裡 - Stack Overflow]</ref><ref>[https://www.percona.com/forums/questions-discussions/mysql-and-percona-server/2762-error-1017-hy000-can-t-find-file 錯誤 1017 (HY000): 找不到文件 - Percona 社區]</ref>。''未經驗證'' | * 檢查 DATABASE\TABLE.frm 文件或所在文件夾的權限<ref>[http://stackoverflow.com/questions/12106727/mysql-copying-tables-files-gives-rise-to-error-1017-hy000-cant-find-file MySQL,複製表文件出現 “ERROR 1017 (HY000): Can't find file:” 即使它在那裡 - Stack Overflow]</ref><ref>[https://www.percona.com/forums/questions-discussions/mysql-and-percona-server/2762-error-1017-hy000-can-t-find-file 錯誤 1017 (HY000): 找不到文件 - Percona 社區]</ref>。''未經驗證'' | ||
=== ERROR 1052 - Column 'column_name' in field list is ambiguous === | |||
訊息:Error Code: 1052. Column 'column_name' in field list is ambiguous 欄位列表中的 'column_name' 模糊不清 | |||
原因:由於 'column_name' 出現在兩個或多個表中...<ref>[https://stackoverflow.com/questions/19351633/error-code-1052-column-admin-id-in-field-list-is-ambiguous mysql - 錯誤代碼:1052 欄位列表中的 'admin_id' 模糊不清 - Stack Overflow]</ref> | |||
解決方案:只保留一個表名 'column_name' 或添加表名別名。 | |||
== 資源和環境錯誤 == | == 資源和環境錯誤 == | ||