Skip to content

a-hilaly/zilean

Repository files navigation

Zilean

mysql-server management : backups, security, partition, dev support

Master  Dev Coverage
CircleCI CircleCI X

1 - Getting Zilean

classic git command

git clone https://github.com/iallabs/zilean.git

Or ! Try to use our one-feet-coded git like command line babtu

2 - Setup

Make sure you have a mysql-server installed on your machine !

Zilean Python3 library:

cd Zilean/
sudo pip3 install -r requirements.txt
make -f Makefile py-setup

Zilean command line:

cd Zilean/
sudo pip3 install -r requiremenets.txt
make -f Makefile makezilean

3 - Documentation

Zilean Python and command line documentation

Zilean uses by default these settings to access to your mysql-server :

{
    "hostname" : "localhost",
    "port" : 22,
    "user" : "root",
    "password" : ""
}    

Skip 3.1 if you have the same settings.

3.1 - Setting Zilean

MySQL logs :

If you have installed only python3 package run the following commands at zilean directory

python3 setup.py setmysqllogs [-h hostname -p port -u user -p password]

If you have installed Zilean command line simply run

Zilean --settings sql [-h hostname -p port -u user -p password]

Python3

At a first place

Command Line

Zilean Decorators

Zilean Scripts