mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-05 16:15:41 -06:00
Don't print root account username and password when running dolt sql-server (#3463)
This commit is contained in:
@@ -117,7 +117,7 @@ programming language, start a SQL server on the command line:
|
||||
|
||||
```sh
|
||||
% dolt sql-server
|
||||
Starting server with Config HP="localhost:3306"|U="root"|P=""|T="28800000"|R="false"|L="info"
|
||||
Starting server with Config HP="localhost:3306"|T="28800000"|R="false"|L="info"
|
||||
```
|
||||
|
||||
Then connect to the database with any standard MySQL connector and
|
||||
|
||||
@@ -386,8 +386,8 @@ func ConnectionString(config ServerConfig) string {
|
||||
|
||||
// ConfigInfo returns a summary of some of the config which contains some of the more important information
|
||||
func ConfigInfo(config ServerConfig) string {
|
||||
return fmt.Sprintf(`HP="%v:%v"|U="%v"|P="%v"|T="%v"|R="%v"|L="%v"`, config.Host(), config.Port(), config.User(),
|
||||
config.Password(), config.ReadTimeout(), config.ReadOnly(), config.LogLevel())
|
||||
return fmt.Sprintf(`HP="%v:%v"|T="%v"|R="%v"|L="%v"`, config.Host(), config.Port(),
|
||||
config.ReadTimeout(), config.ReadOnly(), config.LogLevel())
|
||||
}
|
||||
|
||||
// LoadTLSConfig loads the certificate chain from config.TLSKey() and config.TLSCert() and returns
|
||||
|
||||
Reference in New Issue
Block a user