In the process of trying to learn Magento I reset the cookie domain in System > Configuration > General > Web according to this article:


It appears I entered a bad value (.www.domainname.com) and can now not get into the admin panel. I am trying to support a client who has a Magento staging site on an AWS Bitnami Lightsail instance. But the client seems to have locked down PHPMYADMIN and remote connections to the MySQL database.

SO, is there any way to reset the cookie domain for this staging site WITHOUT access to the database?

  • Ok I got access to the MYSQL database. So I can try to reset the cookie domain with a SQL command. Now back to my original issue: Magento 2.2.5 My Account button does not work.
    – WebWorkz
    Commented Nov 20, 2019 at 19:43

1 Answer 1


For future reference, you can set configuration via bin magento

bin/magento config:set [configpath] [value]

Without the buckets.

More info in dev docs https://devdocs.magento.com/guides/v2.3/config-guide/cli/config-cli-subcommands-config-mgmt-set.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.