kocak37 Posted December 27, 2012 Share Posted December 27, 2012 arkadaşlar kategori ekle formu yaptım ilk kategorimi ekliyorum 2, eklerken Duplicate entry '1' for key 'PRIMARY' bu şekilde hata alıyorum Quote Link to comment Share on other sites More sharing options...
cumman Posted January 2, 2013 Share Posted January 2, 2013 Oncelikte veritabaninin yedegini al. mysqldump -uUSER -pPASSWORD DBNAME > /tmp/my_backup.sql Ardindan veritabanini sil ve tekrar olustur. DBNAME yazan kisim drop database DBNAME; create database DBNAME; En son olarak aldigin backup dosyasini tekrar yukle. mysql -uUSER -pPASSWORD DBNAME < /tmp/my_backup.sql Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.