Skip to content

Commit 0bae400

Browse files
committed
Add minor changes
1 parent 7add2d8 commit 0bae400

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
`kill-mysql-query` interactively shows long running queries in MySQL database and provide option kill them one by one.
1212

13-
👉 Great for firefighting 🔥🚨🚒
13+
👉 Great for firefighting situations 🔥🚨🚒
1414

1515
It can connect to MySQL server as configured, can use SSH Tunnel if necessary, and let you decide which query to kill. By default queries running for more than 10 seconds will be marked as long running queries, but it can be configured.
1616

@@ -20,7 +20,7 @@ It can connect to MySQL server as configured, can use SSH Tunnel if necessary, a
2020

2121
## Installation
2222

23-
Download binary from [release](https://github.com/mugli/go-kill-mysql-query/releases).
23+
Download binary from [release tab](https://github.com/mugli/go-kill-mysql-query/releases).
2424

2525
---
2626

@@ -49,6 +49,8 @@ Other commands:
4949

5050
## Configuration
5151

52+
Run `kill-mysql-query init` to generate an empty configuration file.
53+
5254
```
5355
[MySQL]
5456
mysql_host = ""

mysql/connect.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,6 @@ func Connect(config configuration.Config) (*sqlx.DB, error) {
142142
return nil, err
143143
}
144144

145-
fmt.Println("⚡️ Successfully connected to the db")
145+
fmt.Println("⚡️ Successfully connected to the database")
146146
return dbConn, nil
147147
}

release.sh

+5
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22

33
export GOPROXY=https://gocenter.io
44

5+
# Tag manually first
6+
# git tag -a v0.1.0 -m "First release"
7+
# git push origin v0.1.0
8+
9+
510
goreleaser release --rm-dist

0 commit comments

Comments
 (0)