Giter VIP home page Giter VIP logo

mysql-notifier's Introduction

mysql-notifier

Notification area (task bar) icon to display the status of one or more MySQL databases (live, dead)

go report

Installation

As a command line app

go get github.com/SC7639/mysql-notifier

As a gui less app (no cmd / terminal window for windows. Will add linux and mac commands in the future)

git clone https://github.com/SC7639/mysql-notifier.git
cd mysql-notifier
go build -ldflags -H=windowsgui -o mysql-notifier.exe main.go functionality.go

Example

If all of the mysql database are live the icon (outlined in red)

All Live

If one of the mysql databases goes down (outlined in red)

Dead

Settings

Settings are stored in a yml file at:

  • Windows: APPDATA/mysql-notifier/settings.yml

  • Linux / Mac: HOME/.mysql-notifier/settings.yml

mysql:
    dev:
        user: root
        database: mysql
     live:
         host: 192.168.0.0 #example
         port: 3306
         user: test
         password: tezt
         database: app_db
interval: 1m

MySQL options

  • host (optional)
  • port (optional)
  • user
  • password (optional)

Interval options

  • 1m (number of minutes)
  • 1s (number of seconds)
  • 1ms (number of milliseconds)

Funtionality

Checks the status of configured mysql databases and displays a green icon if live (can connect) or a red icon if dead (cant connect)

Menu

Icon Menu

The menu adds extra functionality:

  • Open settings (currently with notepad++, will add a text editor for linux and mac)
  • Status of MySQL instance (live or dead)
  • On MySQL menu item click, a mysql window will open using the connection details (currently only cmd on windows, will update )

mysql-notifier's People

Contributors

sc7639 avatar

Watchers

 avatar  avatar

Forkers

radtek

mysql-notifier's Issues

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.