Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Change Mysql to MySQL to follow the official naming
天舟52d78e5c788c
diff --git a/bin/bb/cmd/dump.go b/bin/bb/cmd/dump.goindex f24d5f5da3..9c317fd0f1 100644--- a/bin/bb/cmd/dump.go+++ b/bin/bb/cmd/dump.go@@ -74,7 +74,7 @@ func dumpDatabase(databaseType, username, password, hostname, port, database, fi}db, err := db.Open(- db.Mysql,+ db.MySQL,db.DriverConfig{Logger: logger},db.ConnectionConfig{Host: hostname,diff --git a/bin/bb/cmd/restore.go b/bin/bb/cmd/restore.goindex fd8d962249..3f81f5d1d8 100644--- a/bin/bb/cmd/restore.go+++ b/bin/bb/cmd/restore.go@@ -63,7 +63,7 @@ func restoreDatabase(databaseType, username, password, hostname, port, database,}db, err := db.Open(- db.Mysql,+ db.MySQL,db.DriverConfig{Logger: logger},db.ConnectionConfig{Host: hostname,diff --git a/plugin/db/driver.go b/plugin/db/driver.goindex da897adb05..aa3a4189f4 100644--- a/plugin/db/driver.go+++ b/plugin/db/driver.go@@ -16,13 +16,13 @@ import (type Type stringconst (- Mysql Type = "MYSQL"+ MySQL Type = "MYSQL"Postgres Type = "POSTGRES")func (e Type) String() string {switch e {- case Mysql:+ case MySQL:return "MYSQL"case Postgres:return "POSTGRES"diff --git a/plugin/db/mysql.go b/plugin/db/mysql.goindex 91bb8401d2..80d0520a90 100644--- a/plugin/db/mysql.go+++ b/plugin/db/mysql.go@@ -29,7 +29,7 @@ var ()func init() {- register(Mysql, newMySQLDriver)+ register(MySQL, newMySQLDriver)}type MySQLDriver struct {