https://github.com/utgwkk/go-mysqlping
Ping MySQL database with go-sql-driver/mysql
https://github.com/utgwkk/go-mysqlping
Last synced: 4 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-24T12:30:22.000Z (5 months ago)
- Last Synced: 2025-03-05T18:53:33.793Z (4 months ago)
- Language: Go
- Size: 40 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
```