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
I have intalled trojan server and client , they both run well with default password which is without mysql auth.
When I finished to config mysql , created user and quota, the auth module did not work !
Now I can only use the global default password.
I have intalled trojan server and client , they both run well with default password which is without mysql auth.
When I finished to config mysql , created user and quota, the auth module did not work !
Now I can only use the global default password.
The operation doc is https://trojan-gfw.github.io/trojan/authenticator .
[trojan]> show quota
+----+----------+----------------------------------------------------------+---------------+----------+--------+
| ID | Username | Password | Quota | Download | Upload |
+----+----------+----------------------------------------------------------+---------------+----------+--------+
| 8 | myusername | b4fff45290308abcc96f0aca235703659b7b077c62cb22897e6ebb77 | 1073741824000 | 0 | 0 |
+----+----------+----------------------------------------------------------+---------------+----------+--------
Part of /usr/src/trojan/server.conf :
"mysql": {
"enabled": true,
"server_addr": "127.0.0.1",
"server_port": 3306,
"database": "trojan",
"username": "trojan_mysql", // yeah, i changed the db username
"password": "mypassword",
"key": "",
"cert": "",
"ca": ""
}
Part of Client/config.json
"password": [
"mypassword" // just the same as password in /usr/src/trojan/server.conf
],
Did I make something wrong?
The text was updated successfully, but these errors were encountered: