mysql perm error - Troubleshooting

Problem:

Access denied for root on mysql and mariaDB databases

Answer:

Stop your containers with the purge option in order to delete all volumes

kool stop --purge

Make sure your DB username is other than root and define a password on the .env file

-DB_USERNAME=root +DB_USERNAME=<some_user> -DB_PASSWORD= +DB_PASSWORD=<somepass>

Start your container

kool start

Run your setup

kool run setup
kool.dev
By choosing "Accept all cookies" you agree to the use of cookies to help us provide you with a better user experience and to analyse website usage. Only the essential cookies are necessary for the proper functioning of our website and cannot be refused.
Check out our Cookie Policy and Privacy Policy for more information.