Don't print root account username and password when running dolt sql-server (#3463)

This commit is contained in:
Brian Hendriks
2022-05-31 16:35:31 -07:00
committed by GitHub
parent fd02a6fd4c
commit bcbc3108b1
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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