优化本地mysql服务自动启动逻辑

This commit is contained in:
GoEdgeLab
2023-07-05 11:14:51 +08:00
parent 4a44309368
commit 2ccd0db52f
5 changed files with 166 additions and 8 deletions

View File

@@ -35,3 +35,11 @@ func TestMySQLVersion(t *testing.T) {
func TestMySQLVersionFrom8(t *testing.T) {
t.Log(dbutils.MySQLVersionFrom8())
}
func TestFindMySQLPath(t *testing.T) {
t.Log(dbutils.FindMySQLPath())
}
func TestStartLocalMySQL(t *testing.T) {
dbutils.StartLocalMySQL()
}