This is not directly related to this package, but serves more as solution to the problem you might run into.
Under certain circumstances (see below), running the artisan db:import-dump command produces the following error:
"Plugin caching_sha2_password could not be loaded: /usr/lib/x86_64-linux-gnu/mariadb19/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory"
This happends when we have for e.g 2 docker containers, something like
This is not directly related to this package, but serves more as solution to the problem you might run into.
Under certain circumstances (see below), running the
artisan db:import-dump
command produces the following error: "Plugin caching_sha2_password could not be loaded: /usr/lib/x86_64-linux-gnu/mariadb19/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory"This happends when we have for e.g 2 docker containers, something like
and run
docker-compose exec app artisan db:import-dump
.To solve the problem, bash into mysql container
docker-compose exec mysql bash
and runand in the MySQL terminal: