去评论
dz插件网

论坛升级时出现1062错误,Duplicate entry for key 'username'

惧愁人
2023/02/06 08:31:23
鐪嬩簡涓涓嬫暟鎹簱锛宑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
No.FileLineCode
1install/update_adult.php411discuz_database::query()
2source/class/discuz/discuz_database.php142db_driver_mysqli->query()
3source/class/db/db_driver_mysqli.php147db_driver_mysqli->halt()
4source/class/db/db_driver_mysqli.php222break()

濡傛灉鎮ㄦ槸绔欓暱锛屽缓璁偍灏濊瘯鍦ㄧ鐞嗕腑蹇 鏇存柊缂撳瓨 锛屾偍涔熷彲閫氳繃 Discuz! 瀹樻柟绔 瀵绘眰甯姪銆傚鏋滄偍纭畾杩欐槸涓涓▼搴忚嚜韬獴ug锛屾偍涔熷彲浠ョ洿鎺 鎻愪氦Issue 缁欐垜浠