# go-mysql-client **Repository Path**: cg33/go-mysql-client ## Basic Information - **Project Name**: go-mysql-client - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-18 - **Last Updated**: 2021-11-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # go-mysql-client pure Go mysql client ## Feature - Single binary - Complete table name - Complete MySQL reserved words ## Demo ![](https://raw.githubusercontent.com/johejo/go-mysql-client/master/demo.gif) ## Install ```bash go get -u github.com/johejo/go-mysql-client/cmd/gomysql ``` ## Usage execute SQL ```bash gomysql -h [HOST] -P [PORT] -u [USER] -p [PASSWORD] [DATABASE] "[SQL]" ``` prompt ```bash gomysql -h [HOST] -P [PORT] -u [USER] -p [PASSWORD] [DATABASE] ``` reading file ```bash gomysql -h [HOST] -P [PORT] -u [USER] -p [PASSWORD] -f [SQL_FILE] [DATABASE] ```