Giter Club home page Giter Club logo

backup-restore-mysql-using-vb.net's Introduction

Backup & Restore MySQL Database Using VB.Net

Description

Simple Backup and Restore Application Using VB.Net for XAMPP or WAMP MySQL Database.

What You Need to Know

Backup Code default format:

Process.Start("[MySQL Dump File Location]", "-u [USERNAME] -p [YOUR PASSWORD] [DATABASE THAT YOU WANT TO BACKUP] -r ""[OUTPUT LOCATION INCLUDE .SQL EXTENSION]""")

Restore Code default format:

myStreamerWriter.WriteLine("mysql -u [USERNAME] -p [PASSWORD] [YOUR DATABASE NAME] < [DATABASE THAT YOU ALREADY BACKUP FILE PATH]")

How to Use

Change this File Location based on what application you used, WAMP or XAMPP to find MySQLDump.exe and MySQL Bin Folder

On Backup Section (Sub Backup)

  • WAMP User: C:\wamp64\bin\mysql\mysql5.7.14\bin\mysqldump.exe
  • XAMPP USer: C:\xampp\mysql\bin\mysqldump.exe

On Restore Section (Sub Restore)

  • WAMP User: C:\wamp64\bin\mysql\mysql5.7.14\bin"
  • XAMPP User: C:\xampp\mysql\bin"

Update

  • 4 june 2021: Add --column-statistics=0 to the script for MySQL 8.0 above. Because Column Statistic is enabled by default since MySQL 8.0.

Last But Not Least

For more info you can contact me on my social media. Visit My Website for more information about this project. Thank You!

backup-restore-mysql-using-vb.net's People

Contributors

garoppo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

albert777

backup-restore-mysql-using-vb.net's Issues

coding restore tidak berfungsi

untuk coding backup sangat simpel dan bekerja dengan bagus, tapi untuk coding restore belum berfungsi, ketika di restore belum terjadi perubahan apa2 pada database

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.