I changed the secure options on Configuration -> Web 'use secure in frontend' and 'use secure in adminhtml' to 'yes' but it was not configurated yet. I cannot access the admin pannel from a browser because it redirects automatically to a https.

I tried to change via database with the commands:

`   UPDATE core_config_data
    SET value=0
    WHERE path='web/secure/use_in_frontend' OR path='web/secure/use_in_adminhtml' OR path='web/url/redirect_to_base';  `

And deleted the var/cache but nothing happens.

What should I do?