Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/utgwkk/go-mysqlping
Ping MySQL database with go-sql-driver/mysql
https://github.com/utgwkk/go-mysqlping
Last synced: about 2 months ago
JSON representation
Ping MySQL database with go-sql-driver/mysql
- Host: GitHub
- URL: https://github.com/utgwkk/go-mysqlping
- Owner: utgwkk
- License: mit
- Created: 2023-08-08T10:58:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-30T00:14:31.000Z (3 months ago)
- Last Synced: 2024-10-30T01:51:32.288Z (3 months ago)
- Language: Go
- Size: 49.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-mysqlping
Ping MySQL database with [go-sql-driver/mysql](https://github.com/go-sql-driver/mysql)## Installation
```
$ go install github.com/utgwkk/go-mysqlping
```## Usage
```
Usage:
go-mysqlping [options]Application Options:
-u, --user=user_name MySQL user name (default: root)
-p, --password=password MySQL user password
-h, --host=host_name Host to connect to the MySQL server (default: 127.0.0.1)
-P, --port=port_num Port used for the connection (default: 3306)
--timeout=timeout Timeout seconds (default: 60)
--help Show this help
--version Show this version
```