Read Time:19 Second
When using mysql client to login MySQL, it throws the following error:
$ mysql -hlocalhost -uroot -p
Enter password:
ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded: Error loading shared library /usr/lib/mariadb/plugin/caching_sha2_password.so: No such file or directory
If it’s alpine linux, then simply install mariadb-connector-c
apk --update add mysql-client mariadb-connector-c
Perfect