You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 13, 2024. It is now read-only.
Jun 24 03:00:37 gmysql Connection failed: Unable to connect to database: Plugin caching_sha2_password could not be loaded: Error loading shared library lib/mariadb/plugin/caching_sha2_password.so: No such file or directory
Jun 24 03:00:37 Caught an exception instantiating a backend: Unable to launch gmysql connection: Unable to connect to database: Plugin caching_sha2_password could not be loaded: Error loading shared library lib/mariadb/plugin/caching_sha2_password.so: No such file or directory
I peeked inside the container and discovered that it is not in the /lib, but in the /usr/lib directory there:
/usr/lib/mariadb/plugin
bash-4.4# ls -la
total 72
drwxr-xr-x 2 root root 4096 Jun 24 00:13 .
drwxr-xr-x 3 root root 4096 Jun 24 00:13 ..
-rwxr-xr-x 1 root root 14168 Jan 14 2019 caching_sha2_password.so
-rwxr-xr-x 1 root root 14016 Jan 14 2019 dialog.so
-rwxr-xr-x 1 root root 14016 Jan 14 2019 mysql_clear_password.so
-rwxr-xr-x 1 root root 14168 Jan 14 2019 sha256_password.so
The error went away when i performed the following from the inside:
My error when connecting to mysql 8 database is:
Jun 24 03:00:37 gmysql Connection failed: Unable to connect to database: Plugin caching_sha2_password could not be loaded: Error loading shared library lib/mariadb/plugin/caching_sha2_password.so: No such file or directory
Jun 24 03:00:37 Caught an exception instantiating a backend: Unable to launch gmysql connection: Unable to connect to database: Plugin caching_sha2_password could not be loaded: Error loading shared library lib/mariadb/plugin/caching_sha2_password.so: No such file or directory
I peeked inside the container and discovered that it is not in the /lib, but in the /usr/lib directory there:
The error went away when i performed the following from the inside:
The solution for now is to modify the docker file with :
RUN cp -R /usr/lib/mariadb /lib/.
The text was updated successfully, but these errors were encountered: