查看日志:
[root@seafile logs]# cat seafile.log
日志文件在/opt/seafile/logs
2023-09-12 16:31:37 ../common/seaf-db.c(826): Failed to connect to MySQL: Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_pred object file: No such file or directory
发现是mysql的认证问题
登录mysql修改mysql密码认证的方式
mysql> alter user seafile@localhost identified with mysql_native_password by '你的密码';
mysql> alter user seafile@'127.0.0.1' identified with mysql_native_password by '你的密码';
发表评论