Open forsaken628 opened 4 years ago
I confirm the bug with default installation of mysql-server-8.0 on Ubuntu 20.04.
fixed with alter statement manually like that :
ALTER USER 'seafile'@'127.0.0.1' IDENTIFIED WITH mysql_native_password BY 'XXXXXXXXXXXXX';
Still not fixed it seems.
I confirm the bug with default installation of mysql-server-8.0 on Ubuntu 20.04.
fixed with alter statement manually like that :
ALTER USER 'seafile'@'127.0.0.1' IDENTIFIED WITH mysql_native_password BY 'XXXXXXXXXXXXX';
It works for creating the admin account of seahub. However, next seahub fails to start up and I find this in logs/seafile.log:
[02/11/2021 09:19:55 AM] ../common/seaf-db.c(709): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
So seafile tries to use mysql_native_password first and then caching_sha2_password? quite funny
may fix with
CREATE USER 'seafile'@'%.%.%.%' IDENTIFIED WITH mysql_native_password BY '111';