Comments (8)
支持的,确保mysql连接是否正确,可以自己修改trojan的配置文件/usr/local/etc/trojan/config.json, 同时要确保连的数据库users表要存在,创表语句参考: https://trojan-gfw.github.io/trojan/authenticator
from trojan.
搞定了,是默认的随机生成的密码搞错了,感谢!
from trojan.
还有个问题,用第二台VPS连接第一台VPS的数据库,登入第二台VPS的web页面,看不到所有用户的密码,其它都可见,这是BUG,还是就这样的哈?
from trojan.
要将/var/lib/trojan-manager目录也拷贝过去才行, 本地用leveldb存了一份原始密码的,因为mysql里面存的密码经过sha224加密无法获取原始密码,所以加密前得存下原始密码
from trojan.
再请教下,如何备份数据库信息,如果服务器重装了,如何恢复?
from trojan.
备份/var/lib/trojan-manager目录 和 导出mysql里面的users表数据即可
from trojan.
又遇到一个问题 有一台VPS连接远程服务器数据库,提示无法连接服务器,可是两台设备互相PING都没问题呢,其它的VPS都可以正常连接,两台设备都是圣何塞的,但不是同一个运行商的,IP也不是同一段的,还是远程连接有VPS数量限制呢?
from trojan.
其他vps能连的话,这个得自己排查了
from trojan.
Related Issues (20)
- 使用docker部署trojan报错启动trojan失败! HOT 7
- 申请支持Sing-Box
- 这个还稳定么,有用过的说下么 HOT 4
- 数据库password字段是怎么加密的,想自己二次开发有代理商功能的面板 HOT 2
- 我修改了端口,为什么还会有个80端口占用呢?
- 大神,你好,我想问下,每天凌晨0点准时,trojan是操作什么数据吗?导致数据库CPU占用很高,然后客户端就连接超时了。持续3分钟,CPU才降下来。 HOT 2
- 通过source <(curl -sL https://git.io/trojan-install)安装时,闪退 HOT 1
- 大佬可以优化一下,每天0点重置过期的用户和每月重置流量的SQL语句嘛?
- 修改为非443端口后,web管理页打不开
- clash 如何配置server trojan 开启ws并开启了 "shadowsocks": { "enabled": true,
- 开启cdn无法访问管理面板的解决方法和问题所在
- 用户名为中文时,一部分名字点击分享导到clash的订阅链接会token is error HOT 1
- Source code statistics traffic problem HOT 1
- 目前使用下来是一天一封一个端口,请教一下大家这个跟vps服务商有关系吗?
- clash导入报错initial rule provider direct error:
- Inability to define a new user
- 大家都在哪里买的VPS推荐一下 HOT 3
- 证书更新后并未生效
- 希望增加可修改web后台端口号 HOT 1
- trojan启动报错无法访问 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trojan.