A tool to backup and restore MySQL database in C#/VB.NET/ASP.NET.
Fixed a bug where MySqlDateTime is not handled for MySqlConnector. Remove icon Dependencies updated.
Please go to the Nuget site to download the latest packages:
PM> Install-Package MySqlBackup.NET https://www.nuget.org/packages/MySqlBackup.NET/
PM> Install-Package MySqlBackup.Net.DevartExpress https://www.nuget.org/packages/MySqlBackup.Net.DevartExpress/
PM> Install-Package MySqlBackup.NET.MySqlConnector https://www.nuget.org/packages/MySqlBackup.NET.MysqlConnector/
Published on 19-10-2022 Fix a bug where the null character is not escaped while exporting data. Minor code clean up and update.
V2.3.6 - Oct 17, 2021
[New] ExportInfo.InsertLineBreakBetweenInserts = false [Fix Bug] MySql Data type, while "default value" = current_timestamp, is skipped and not exported into dump.
[New] ExportInformation.EnableComment = true. (new option) Added support for MySqlConnector (MIT) ExportToFile(), if the directory is not existed. MySqlBackup will attempt to create it.
[Improve] ImportInfo.ErrorLogFile = true. Now will include the query that causes the error. ExportToFile = Auto created directory if not exists. For non delimeter changed query execution, using MySqlCommand in stead of MySqlScript, slightly increase overall import speed. Minor clean up.
Special thanks to souchprod for suggesting the solution to support MySqlConnector.
Fix bug: MySql Time > Large hour is truncated.
Compatibility with Linux: Change AppendLine to Append for Import. AppendLine will cause problem while import in Linux. Provide new method to export and import from Stream Update MySql.Data.DLL to latest version: 8.0.21