mysql perm error - Troubleshooting

kool run mysql, kool run maria or kool run setup

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