A simple web console for querying your mysql database.
- mysql-client like console
- Simple login page and auth protection
- Database connection status
- Rerun query from history
Go 1.16
go build . -o mysql-console
go run .
docker run --rm -it -p8080:8080 harrisonmiller/mysql-console
Variable | Description | Default | Notes |
---|---|---|---|
HOST | address for the web server | :8080 |
|
DB_CONN | db connection string | root:password@tcp(127.0.0.1:3306)/ |
uses DSN format |
USERNAME | username | admin |
|
PASSWORD | password as bcrypt hash | admin |
format |
TITLE | custom page title | MySQL Console |