Comments (9)
这不是出错,这是等mysql启动完自动建表建用户的,等一下就好
from trojan.
这不是出错,这是等mysql启动完自动建表建用户的,等一下就好
等了半小时,正常吗?
from trojan.
什么系统安装的呢, 可以docker ps -a看看容器状态trojan-mysql容器
from trojan.
什么系统安装的呢, 可以docker ps -a看看容器状态trojan-mysql容器
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
405f8f62c7bd mysql/mysql-server:5.7 "/entrypoint.sh mysq…" 5 hours ago Restarting (1) 58 seconds ago trojan-mysql
还是一样.
Ubuntu 18.04系统,
anyhk的nat vps
from trojan.
你试下删掉容器docker rm -f trojan-mysql
, 清掉mysql目录 rm -rf /home/mysql,然后运行下
docker run --name trojan-mysql --restart=always -p 3306:3306 -v /home/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=trojan -e MYSQL_ROOT_HOST=% -e MYSQL_DATABASE=trojan -d mysql/mysql-server:5.7
from trojan.
试试手动运行能否起
from trojan.
试试手动运行能否起
欢迎使用trojan管理程序
1.trojan管理 2.用户管理
3.安装管理 4.查看配置
5.生成客户端配置文件
请选择: 4
[mysql] 2020/03/02 18:49:01 packets.go:36: unexpected EOF
[mysql] 2020/03/02 18:49:01 packets.go:36: unexpected EOF
[mysql] 2020/03/02 18:49:01 packets.go:36: unexpected EOF
driver: bad connection
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x858dde]
goroutine 1 [running]:
trojan/trojan.UserList(0x0, 0x0, 0x0, 0xc00000ee20)
/home/go/trojan/trojan/user.go:81 +0xae
trojan/cmd.mainMenu()
/home/go/trojan/cmd/root.go:79 +0x4c4
trojan/cmd.glob..func5(0xd58660, 0xd89850, 0x0, 0x0)
/home/go/trojan/cmd/root.go:31 +0x20
github.com/spf13/cobra.(*Command).execute(0xd58660, 0xc0000201d0, 0x0, 0x0, 0xd58660, 0xc0000201d0)
/home/go/pkg/mod/github.com/spf13/[email protected]/command.go:844 +0x29d
github.com/spf13/cobra.(*Command).ExecuteC(0xd58660, 0x44366a, 0xd1c100, 0xc000000180)
/home/go/pkg/mod/github.com/spf13/[email protected]/command.go:945 +0x317
github.com/spf13/cobra.(*Command).Execute(...)
/home/go/pkg/mod/github.com/spf13/[email protected]/command.go:885
trojan/cmd.Execute()
/home/go/trojan/cmd/root.go:38 +0x31
main.main()
/home/go/trojan/main.go:21 +0x20
from trojan.
mysql手动起来了吗,如果手动起来了的,去安装管理那里选择mysql安装,再选自定义mysql连接
from trojan.
nat vps是不是有限制端口数量的,如果是起的mysql端口要在其范围内
from trojan.
Related Issues (20)
- 程序的完整卸载是个问题。
- 如何备份和恢复docker mysql 数据库 里的用户 HOT 1
- 443端口,有其它web服务在用,请问如何改为其它端口? HOT 2
- 求问ipv6监听 HOT 1
- SSL证书自动续签问题 HOT 5
- 怎样查询到用户的浏览记录和用户流量
- 申请证书时报错 HOT 1
- 请问能否在Trojan Web 的管理面里再创建多一下admin用户
- 域名解析有误?
- 修改web端口,还需要修改trojan 本身的config
- source无效
- 请问clash X有没有ubuntu Linux版的
- 使用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语句嘛?
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.