[ Agent ] [ App ] - fix mysql init bugs - 3

This commit is contained in:
zeaslity
2023-11-28 11:30:44 +08:00
parent 4217a2fd0d
commit 7d6a6d50a0
5 changed files with 60 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
package executor
import "testing"
func TestMySqlConnection(t *testing.T) {
connection, strings := MySqlConnection("10.250.0.126", "33306")
if !connection {
t.Error(strings)
}
println("success!")
}