Connect in a easy way to the database you need without having to memorize the credentials.
$ mkdir ~/.config/sqlterm
$ cd ~/.config/sqlterm
$ touch databases.json
{
"databases": [
{
"shortname": "<short name to be displayed>",
"username": "<database username>",
"hostname": "<database hostname or ip",
"password": "<database password>",
"port": "<database port>"
}
...
]
}
$ git clone https://github.com/jpxcz/sqlterm
# in the future we will need to get the dependencies `go get .`
$ cd sqlterm
$ go build -o sqlterm ./cmd/main.go
$ ./sqlterm
Currently only supported MySQL.
- Add BubbleTea for a better UX interface
- Allow to send a sql files to the connection
-
- Allow to send sql files to multiple databases
- Command to do dump of one or multiple databases
- Allow support to multiple databases types