/mysql-pydump

Primary LanguagePythonMIT LicenseMIT

mysql-pydump

Status GitHub license GitHub issues GitHub forks GitHub stars Documentation Status


📝 Table of Contents

🧐 About

mysql_pydump allows you to easily backup your mysql database

🏁 Getting Started

Prerequisites

you just need have mysql or mariadb in your system

you can check1 by this cammand

mysql -u USERNAME -p

Installing

for installing mysql read this Document

after installing you can connecto to mysql like this

mysql -u USERNAME -p

and you can install mysql-pydump easily by pypi :

pip install mysql-pydump

🎈 Usage

from mysql_pydump import dump

CONFIG = {
    "host": 'mysql_host',
    "username": 'mysql_username',
    "password": 'mysql_password',
    "database": 'database_name',
    "result": 'result_file_name',
    "path": '.', # path for save files
}

dump(CONFIG)

for more detail read mysql-pydump Document

✍️ Authors

See also the list of contributors who participated in this project.