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

SQL检测提示inception_magic_start #1992

Closed
Tizeen opened this issue Dec 7, 2022 · 2 comments
Closed

SQL检测提示inception_magic_start #1992

Tizeen opened this issue Dec 7, 2022 · 2 comments

Comments

@Tizeen
Copy link

Tizeen commented Dec 7, 2022

重现步骤

提问题之前已查阅过WIKI和FAQ,以下相关点已确认没问题:

  1. goinception 和备份库的配置没有问题,测试连接 ok,并且 goinception 配置文件的备份库密码和页面配置一致;
  2. 实例测试连接 ok,能连接成功(配置了连接隧道)

但是提交 sql 时,点击 sql检测 会提示 inception_magic_start

我的猜测:
数据库实例是通过连接隧道连接成功的,goinception 进行sql检测时,没有利用到连接隧道,导致 goinception 连接失败。同时测试了没有使用连接隧道的数据库,sql检测能成功,没有异常

预期外的结果

image

日志文本

time="2022/12/07 19:19:20.058" level=error msg="con:1 con:1 dial tcp 127.0.0.1:45252: connect: connection refused" file=session_inception.go func=parseOptions line=2067
time="2022/12/07 19:19:37.643" level=error msg="con:2 con:2 dial tcp 127.0.0.1:41547: connect: connection refused" file=session_inception.go func=parseOptions line=2067
time="2022/12/07 19:19:39.616" level=error msg="con:3 con:3 dial tcp 127.0.0.1:40755: connect: connection refused" file=session_inception.go func=parseOptions line=2067
time="2022/12/07 19:19:57.222" level=error msg="con:4 con:4 dial tcp 127.0.0.1:41256: connect: connection refused" file=session_inception.go func=parseOptions line=2067
time="2022/12/07 19:19:59.177" level=error msg="con:5 con:5 dial tcp 127.0.0.1:43279: connect: connection refused" file=session_inception.go func=parseOptions line=2067
time="2022/12/07 19:20:00.461" level=error msg="con:6 con:6 dial tcp 127.0.0.1:38283: connect: connection refused" file=session_inception.go func=parseOptions line=2067
time="2022/12/07 19:21:05.824" level=error msg="con:7 con:7 dial tcp 127.0.0.1:35596: connect: connection refused" file=session_inception.go func=parseOptions line=2067
time="2022/12/07 19:23:17.439" level=error msg="con:9 con:9 dial tcp 127.0.0.1:43330: connect: connection refused" file=session_inception.go func=parseOptions line=2067
time="2022/12/07 19:23:31.918" level=error msg="con:10 con:10 dial tcp 127.0.0.1:35014: connect: connection refused" file=session_inception.go func=parseOptions line=2067
time="2022/12/07 19:25:30.631" level=error msg="con:11 con:11 dial tcp 127.0.0.1:38810: connect: connection refused" file=session_inception.go func=parseOptions line=2067
time="2022/12/07 19:27:33.398" level=error msg="con:13 con:13 dial tcp 127.0.0.1:44135: connect: connection refused" file=session_inception.go func=parseOptions line=2067
time="2022/12/07 19:28:52.167" level=error msg="con:15 con:15 dial tcp 127.0.0.1:40856: connect: connection refused" file=session_inception.go func=parseOptions line=2067
time="2022/12/07 19:28:57.995" level=error msg="con:16 con:16 dial tcp 127.0.0.1:44900: connect: connection refused" file=session_inception.go func=parseOptions line=2067

版本

1.8.5

部署方式

Docker

是否还有其他可以辅助定位问题的信息?比如数据库版本等

No response

@nick2wang
Copy link
Collaborator

看下是不是这个问题 #1362

@Tizeen
Copy link
Author

Tizeen commented Dec 8, 2022

是这个原因,已根据文档修复了,谢谢~

@Tizeen Tizeen closed this as completed Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants