While Using liferay hosted on my local server by mistake i have just unchecked the permission of guest and site member to view the welcome page from my admin account .now i cant access any pages and even its doesn't allow me to sign in either .i have checked the database of my life ray portal but i couldn't find out the solution.any one can guide me that which table and which permission i need to edit in MySQL database .i am new bee so i don't know about this. i have seen user_role and user permission table but couldn't find anything.
UPDATE public.resourcepermission SET actionids = 15 WHERE roleid = (select roleid FROM public.role_ WHERE name = 'Guest')