Duplicate entry '34482' for key 'PRIMARY'

by jidey, Sunday, April 03, 2016, 17:04 (3003 days ago) @ jidey

Hi,

In case of someone else got this problem, I found a (brutal) solution:
1) dump your selfoss database: mysqldump -u selfoss_user -p selfoss_database > dump.sql
2) drop your selfoss database (in mysql, root user): drop database selfoss_database
3) recreate your selfoss database (in mysql, root user): create database selfoss_database
4) restore your data: mysql -u root -p selfoss_database < dump.sql

That worked for me, I didn't search further.
jidey


Complete thread:

 RSS Feed of thread

powered by my little forum