We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to use this Library in my Project (.NET 7). It works fine, but there aren't any views in the sql file. For the Backup I use the following code:
public static bool Create_DB_Backup(string Destination) { try { using (MySqlConnection conn = new MySqlConnection(Connectionstring())) { using (MySqlCommand cmd = new MySqlCommand()) { using (MySqlBackup mb = new MySqlBackup(cmd)) { cmd.Connection = conn; conn.Open(); mb.ExportInfo.ExportViews = true; mb.ExportToFile(Destination); conn.Close(); } } } return true; } catch (Exception ex) { MessageBox.Show(ex.Message.ToString()); return false; } }
The text was updated successfully, but these errors were encountered:
Your code appears to be correct. I'm not able to recreate the error that you've mentioned. Perhaps, you error is related to something else.
Sorry, something went wrong.
Hello, Thanks for the answer. I'll have a look into it. Maybe something has changed in my project since my original post...
No branches or pull requests
I want to use this Library in my Project (.NET 7). It works fine, but there aren't any views in the sql file.
For the Backup I use the following code:
The text was updated successfully, but these errors were encountered: