GitXplorerGitXplorer
d

mysql-secret-store-mycnf

public
6 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
916997bd30f2482a7b863f03e87bd162a231b58a

Fix small list issues and panic if no command is given

ddveeden committed 4 years ago
Verified
cee92597466d1af145e991af68af3cb59897b60b

Update README.md

ddveeden committed 6 years ago
Unverified
c53a14f40c959face56f7e80220429b86b346841

update readme

ddveeden committed 6 years ago
Unverified
86ecac3f9db20dd2dceb76b6a38094d4085ee0a9

update readme

ddveeden committed 6 years ago
Unverified
99f58d0bc90c4ff54e62c90405c356078586c663

update readme

ddveeden committed 6 years ago
Unverified
303e4703ee6853db2a014879f3a8d2d2c2fc512b

fixup

ddveeden committed 6 years ago

README

The README file for this repository.

Description

This allows MySQL Shell (mysqlsh) to read the username and password from ~/.my.cnf, similar to what mysql does by default.

Usage

mysqlsh --credential-store-helper=mycnf --sql root@localhost

Or you can put something like this in ~/.mysqlsh/options.json:

{
    "credentialStore.helper": "mycnf",
    "defaultMode": "sql"
}

And then:

mysqlsh root@localhost

Installation

From binary: Download and place in the same directory as mysqlsh

From source:

go get github.com/go-ini/ini
go build
mv mysql-secret-store-mycnf $(dirname $(which mysqlsh))

Related