go-check-mysql-user

command module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2020 License: MIT Imports: 9 Imported by: 0

README

go-check-mysql-user

check mysql user exists

usage

Usage:
  check-mysql-user [OPTIONS]

Application Options:
      --defaults-extra-file= path to defaults-extra-file
      --mysql-socket=        path to mysql listen sock
  -H, --host=                Hostname (default: localhost)
  -p, --port=                Port (default: 3306)
  -u, --user=                Username (default: root)
  -P, --password=            Password
      --database=            database name connect to
      --timeout=             Timeout to connect mysql (default: 5s)
  -a, --account-name=        account user name
  -n, --account-host=        account user host
  -v, --version              Show version

Help Options:
  -h, --help                 Show this help message
$ check-mysql-user --account-name=readuser --account-host=localhost
MySQL User OK: user 'readuser'@'localhost' exists

Install

Please download release page or mkr plugin install kazeburo/go-check-mysql-user.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL