I was working with magento and by mistake I deleted whole magento database, but on opening magento again from localhost new database was generated successfully.
But now the problem is that I am not able to login in backend.
I created admin user in admin_user table with user name as admin and entered password encrypted with MD5, I also tried with the following query
UPDATE admin_user SET password=CONCAT(MD5('qXpassword'), ':qX') WHERE username='admin';
But this also don't help me.
Can anyone tell me now how can I login to backend.
"Parent Role id ‘G1’ does not exist"
error message is displayed on login as admin
I am using 1.7 version