shopware / development

MIT License
189 stars 169 forks source link

MariaDB Authentication plugin failed #99

Closed govindamandal closed 4 years ago

govindamandal commented 4 years ago

I am getting this error in the installation:-

Step 1- ./psh.phar docker:start, result okay, no issue

Step 2- ./psh.phar docker:ssh, result okay, no issue

Step 3- ./psh.phar install, result failed, error-

ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib/x86_64-linux-gnu/mariadb18/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory

Execution aborted, a subcommand failed!

How can resolve it?

shyim commented 4 years ago

The permissions of file dev-ops/docker/containers/mariadb/dev.cnf are too open. See mysql container logs as reference. So MySQL 8 runs with the unix auth socket. Fix the permissions of the file and run psh.phar docker:start again