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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址