论坛升级时出现1062错误,Duplicate entry for key 'username'
鐪嬩簡涓涓嬫暟鎹簱锛宑ommon_member_archive杩欎釜琛ㄥ拰鍚庨潰鐨勮〃閮芥病鏈夎浆鎹㈠畬銆傚墠闈㈢殑杞崲鎴愬姛浜嗐
涓嶇煡閬撳簲璇ユ庝箞瑙e喅锛
Discuz! Database Error
(1062) Duplicate entry '锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷' for key 'username'ALTER TABLE common_member_archive CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
PHP Debug
涓嶇煡閬撳簲璇ユ庝箞瑙e喅锛
Discuz! Database Error
(1062) Duplicate entry '锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷' for key 'username'ALTER TABLE common_member_archive CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
PHP Debug
No. | File | Line | Code |
1 | install/update_adult.php | 411 | discuz_database::query() |
2 | source/class/discuz/discuz_database.php | 142 | db_driver_mysqli->query() |
3 | source/class/db/db_driver_mysqli.php | 147 | db_driver_mysqli->halt() |
4 | source/class/db/db_driver_mysqli.php | 222 | break() |
濡傛灉鎮ㄦ槸绔欓暱锛屽缓璁偍灏濊瘯鍦ㄧ鐞嗕腑蹇 鏇存柊缂撳瓨 锛屾偍涔熷彲閫氳繃 Discuz! 瀹樻柟绔 瀵绘眰甯姪銆傚鏋滄偍纭畾杩欐槸涓涓▼搴忚嚜韬獴ug锛屾偍涔熷彲浠ョ洿鎺 鎻愪氦Issue 缁欐垜浠