报错
trojan开启数据库验证后连接数据库报错
1 2 3 4 |
Welcome to trojan 1.16.0 [2022-07-12 14:15:27] [INFO] connecting to MySQL server 192.168.2.21:3306 [2022-07-12 14:15:27] [FATAL] fatal: Plugin caching_sha2_password could not be loaded: /usr/local/lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory [2022-07-12 14:15:27] [FATAL] exiting. . . |
解决
在数据库中运行sql
1 |
ALTER USER trojan IDENTIFIED WITH mysql_native_password BY 'your-trojan-user-password'; |
There are no comments yet