- Posts: 5
- Home
- Forum
- Community Forum
- Questions
- Installation/Upgrade
- Solidres 2.6.0 problem with home page
Error When Attempting Install of Sample Data
- iforceman
- Topic Author
- Offline
Less
More
10 years 9 months ago #4489
by iforceman
Error When Attempting Install of Sample Data was created by iforceman
Why am I getting this error?
1062 Duplicate entry '1' for key 'PRIMARY' SQL=INSERT INTO `f9xh1_sr_customer_groups` (`id`, `name`, `state`) VALUES (1, 'Regular Customer', 1), (2, 'Silver Customer', 1), (3, 'Gold Customer', 1), (4, 'Premium Customer', 1), (5, 'Diamond Customer', 1)
1062 Duplicate entry '1' for key 'PRIMARY' SQL=INSERT INTO `f9xh1_sr_customer_groups` (`id`, `name`, `state`) VALUES (1, 'Regular Customer', 1), (2, 'Silver Customer', 1), (3, 'Gold Customer', 1), (4, 'Premium Customer', 1), (5, 'Diamond Customer', 1)
Please Log in or Create an account to join the conversation.
- vietvh
-
- Offline
Less
More
- Posts: 1553
10 years 9 months ago #4495
by vietvh
Replied by vietvh on topic Error When Attempting Install of Sample Data
That error is because you already have data in your database therefore it created duplicate warning. Sample data should only be installed when your Solidres has no data in it.
Please Log in or Create an account to join the conversation.
Moderators: solidres