I am trying to setup the dev environment from past two days tried all the suggestions posted in the community and in google,i am getting the following error while setting up the dev env locally…any help will be appreciated
please let me know in case if you need any logs i can upload.
insert into privilege (privilege, description, uuid)
select ‘Get Identifier Types’, ‘Able to get patient identifier types’, ‘d05118c6-2490-4d78-a41a-390e3596a239’
from privilege
where not exists (select privilege from privilege where privilege = ‘Get Identifier Types’) limit 1;
Then after, rerun select * from privilege where privilege = ‘Get Identifier Types’
and tell me what happens.
insert into privilege (privilege, description, uuid)
select ‘Get Identifier Types’, ‘Able to get patient identifier types’, ‘d05118c6-2490-4d78-a41a-390e3596a239’
from privilege
where not exists (select privilege from privilege where privilege = ‘Get Identifier Types’) limit 1
MySQL said: Documentation
#1062 - Duplicate entry ‘d05118c6-2490-4d78-a41a-390e3596a239’ for key ‘privilege_uuid_index’
What does this return?
select ‘Get Identifier Types’, ‘Able to get patient identifier types’, ‘d05118c6-2490-4d78-a41a-390e3596a239’
from privilege
where not exists (select privilege from privilege where privilege = ‘Get Identifier Types’) limit 1
i think there might be some compatibility issues with wampserver’s packages and openmrs code such as the embedded phpmyadmin, you could try downgrading phpmyadmin version to 4.5.2