-
Notifications
You must be signed in to change notification settings - Fork 201
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
fix: 目标机器上用Docker拉起MySQL同时监听IPv4与IPv6端口后SQL脚本执行异常 #1992
Comments
jsonwan
changed the title
bugfix: 目标机器上用Docker拉起MySQL同时监听IPv4与IPv6端口后SQL脚本执行异常
fix: 目标机器上用Docker拉起MySQL同时监听IPv4与IPv6端口后SQL脚本执行异常
Apr 27, 2023
liuliaozhong
added a commit
to liuliaozhong/bk-job
that referenced
this issue
Sep 19, 2023
jsonwan
added a commit
that referenced
this issue
Oct 10, 2023
fix: 目标机器上用Docker拉起MySQL同时监听IPv4与IPv6端口后SQL脚本执行异常 #1992
liuliaozhong
added a commit
to liuliaozhong/bk-job
that referenced
this issue
Oct 10, 2023
liuliaozhong
added a commit
to liuliaozhong/bk-job
that referenced
this issue
Oct 10, 2023
liuliaozhong
added a commit
to liuliaozhong/bk-job
that referenced
this issue
Oct 10, 2023
jsonwan
added a commit
that referenced
this issue
Oct 10, 2023
fix: 目标机器上用Docker拉起MySQL同时监听IPv4与IPv6端口后SQL脚本执行异常 #1992
jsonwan
added a commit
that referenced
this issue
Oct 10, 2023
fix: 目标机器上用Docker拉起MySQL同时监听IPv4与IPv6端口后SQL脚本执行异常 #1992
jsonwan
added a commit
that referenced
this issue
Oct 10, 2023
fix: 目标机器上用Docker拉起MySQL同时监听IPv4与IPv6端口后SQL脚本执行异常 #1992
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version / Branch / tag
3.6.x
出了什么问题?(What Happened?)
原因:
问题在MySQL包装脚本:
HOST_AND_PORT=
netstat -ntl | grep ":${PORT} " | awk '{print $4}'
这一句获取了2行结果导致异常。
如何复现?(How to reproduce?)
目标机器上用Docker拉起MySQL,到目标机器执行SQL脚本。
预期结果(What you expect?)
SQL脚本正常执行。
The text was updated successfully, but these errors were encountered: