I followed the below steps after watching the mosh video - Resetting Database error. I tried for 3 days to solve the error but the error didn’t resolve. Please help me.
Try closing and reopening vscode / datagrip and/or rebooting your system before running the steps again
If it still doesn’t work you may need to go right back and re-install mysql to make sure everything is installed properly and has correct settings. If your on windows machine be sure to download the community installer here
It may be that you already have a product with PRIMARY_KEY id = 2 in your store_collection table.
I’d suggest jumping into your database and having a look at the data stored in the store_collection table.
IF you have data stored with id = 2 just remove it from the table then run the process again.