pure Go mysql client
- Single binary
- Complete table name
- Complete MySQL reserved words
go get -u github.com/johejo/go-mysql-client/cmd/gomysql
execute SQL
gomysql -h [HOST] -P [PORT] -u [USER] -p [PASSWORD] [DATABASE] "[SQL]"
prompt
gomysql -h [HOST] -P [PORT] -u [USER] -p [PASSWORD] [DATABASE]
reading file
gomysql -h [HOST] -P [PORT] -u [USER] -p [PASSWORD] -f [SQL_FILE] [DATABASE]