Skip to content

ManjotS/myhelpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myhelpers

Simple helper scripts for MariaDB and MySQL. Most tools require .my.cnf or .mylogin with login info in user directory.

Dev branch for things in progress or that don't really work.

my-binlogger

This script will stream binlogs for the purposes of backup.

Add to root crontab on a backup server: @reboot nohup /usr/local/bin/my-binlogger 2>&1 > /var/log/my-binlogger.log &

The conf file from conf/ should be placed in /etc/mysql/ (or the path in my-binlogger should be changed).

my-slavestatus

Usage: my-slavestatus [seconds]

Displays slave status. If seconds are provided it will use watch to refresh the status.

my-vars

Usage: my-vars some-string

Greps the mysql variables for the provided string.

About

MySQL helper tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages