19 lines
428 B
Go
19 lines
428 B
Go
package a_executor
|
|
|
|
//func TestMySqlConnection(t *testing.T) {
|
|
//
|
|
// connection, strings := MySqlConnection("10.250.0.126", "33306")
|
|
// if !connection {
|
|
// t.Error(strings)
|
|
// }
|
|
//
|
|
// println("success!")
|
|
//}
|
|
//
|
|
//func TestMySqlParseSQLFile(t *testing.T) {
|
|
//
|
|
// parseSQLFile := MySqlParseSQLFile("C:\\Users\\wdd\\Documents\\4.1.6-部署\\init_5.1.0\\1_all_tables_demo_5.1.0.sql")
|
|
//
|
|
// BasicPrettyPrint(true, parseSQLFile)
|
|
//}
|