Refer to : Fixing MariaDB issues after rebuilding the container
and development
I am able to solved the problem with my production containers, but how could to solve with my dev container.
What I have tried with devecontainer:
- open dev container (vscode)
- at my host machine connect to mariadb container with root and issue command to
GRANT ALL PRIVILEGES ON
db_name.* TO 'db_name'@'%'; FLUSH PRIVILEGES;
- restart bench inside the dev container
- access the site
- still get this error
pymysql.err.OperationalError: (1045, "Access denied for user '_c3378df433f3bca6'@'172.18.0.6' (using password: YES)")