Skip to content

MySQLVars is a small CLI that will dump the contents of the MySQL `SHOW VARIABLES;` query to STDOUT as a CSV.

License

Notifications You must be signed in to change notification settings

grokify/gomysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoMySQL

Build Status Go Report Card Docs License

GoMySQL is a Go module that includes various helpers for MySQL, including mysqlvars, is a simple CLI app to dump the contents of SHOW VARIABLES for MySQL. It writes to STDOUT which can be piped to a file.

CLI Installation and Usage

% go install github.com/grokify/gomysql/cmd/mysqlvars@latest
% mysqlvars -h <host> -P <port> -u <username> -p <password>

Script Installation and Usage

% git clone https://github.com/grokify/gomysql
% cd gomysql/cmd/mysqlvars
% go run main.go -h <host> -P <port> -u <username> -p <password>

About

MySQLVars is a small CLI that will dump the contents of the MySQL `SHOW VARIABLES;` query to STDOUT as a CSV.

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages