Code Monkey home page Code Monkey logo

Comments (8)

Jrohy avatar Jrohy commented on August 24, 2024

支持的,确保mysql连接是否正确,可以自己修改trojan的配置文件/usr/local/etc/trojan/config.json, 同时要确保连的数据库users表要存在,创表语句参考: https://trojan-gfw.github.io/trojan/authenticator

from trojan.

lpn418 avatar lpn418 commented on August 24, 2024

搞定了,是默认的随机生成的密码搞错了,感谢!

from trojan.

lpn418 avatar lpn418 commented on August 24, 2024

还有个问题,用第二台VPS连接第一台VPS的数据库,登入第二台VPS的web页面,看不到所有用户的密码,其它都可见,这是BUG,还是就这样的哈?

from trojan.

Jrohy avatar Jrohy commented on August 24, 2024

要将/var/lib/trojan-manager目录也拷贝过去才行, 本地用leveldb存了一份原始密码的,因为mysql里面存的密码经过sha224加密无法获取原始密码,所以加密前得存下原始密码

from trojan.

lpn418 avatar lpn418 commented on August 24, 2024

再请教下,如何备份数据库信息,如果服务器重装了,如何恢复?

from trojan.

Jrohy avatar Jrohy commented on August 24, 2024

备份/var/lib/trojan-manager目录 和 导出mysql里面的users表数据即可

from trojan.

lpn418 avatar lpn418 commented on August 24, 2024

又遇到一个问题 有一台VPS连接远程服务器数据库,提示无法连接服务器,可是两台设备互相PING都没问题呢,其它的VPS都可以正常连接,两台设备都是圣何塞的,但不是同一个运行商的,IP也不是同一段的,还是远程连接有VPS数量限制呢?

from trojan.

Jrohy avatar Jrohy commented on August 24, 2024

其他vps能连的话,这个得自己排查了

from trojan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.