PDOException: SQLSTATE: Integrity constraint violation: 1062 Duplicate entry 'AD' for key 'PRIMARY' in C:\wamp64\www\magento2\vendor\magento\zendframework1\library\Zend\Db\Statement\Pdo.php:228
getting this error at installing data module
i have done uninstalling and installing again removing entire DB the again installing it please help me out
looks like you had a previous installation and hence db was not clean.
Please clean your db (drop database and re-create) and try again. Alternatively, you can run
which will and try again.
Another possible solution is - Might be database was imported before, so delete it and re-installed it for the same.
Sometime when u uninstall it doesn't remove DB entries as it might be in use somewhere. Its better you go to phpMyAdmin and "Drop" your DB and then start the re-installation of M2.
Hope this help.