Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this project still be maintained? #4

Open
o0TT0o opened this issue Oct 3, 2020 · 0 comments
Open

Is this project still be maintained? #4

o0TT0o opened this issue Oct 3, 2020 · 0 comments

Comments

@o0TT0o
Copy link

o0TT0o commented Oct 3, 2020

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?

@o0TT0o o0TT0o changed the title does the project still in maintaining Is this project still be maintained? Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant