diff --git a/Src/Asp.Net/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs b/Src/Asp.Net/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs index 343b0334d..7bc4688e2 100644 --- a/Src/Asp.Net/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs +++ b/Src/Asp.Net/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs @@ -252,7 +252,7 @@ namespace SqlSugar { get { - return "CREATE {3} INDEX Index_{0}_{2} ON `{0}` (`{1}`)"; + return "CREATE {3} INDEX `Index_{0}_{2}` ON `{0}` ({1})"; } }