Bug #104112 | Provide a global place to provide system-wide mysql shell configuration | ||
---|---|---|---|
Submitted: | 25 Jun 2021 11:24 | Modified: | 25 Jun 2021 11:55 |
Reporter: | Simon Mudd (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | Shell General / Core Client | Severity: | S4 (Feature request) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | configuration, global settings, mysqlshell |
[25 Jun 2021 11:24]
Simon Mudd
[25 Jun 2021 11:27]
Simon Mudd
Related to: bug#99927
[25 Jun 2021 11:55]
MySQL Verification Team
Hello Simon, Thank you for the feature request! regards, Umesh
[25 Jun 2021 13:51]
Daniël van Eeden
Putting things in /etc/mysql/mysqlsh/mysqlshrc.js as described on https://dev.mysql.com/doc/mysql-shell/8.0/en/mysql-shell-creating-startup-scripts.html might be a good workaround. example: shell.options["pager"] = "less" Now in mysqlsh: JS shell.options { "autocomplete.nameCache": true, "batchContinueOnError": false, "credentialStore.excludeFilters": [], "credentialStore.helper": "default", "credentialStore.savePasswords": "prompt", "dba.gtidWaitTimeout": 60, "dba.logSql": 0, "dba.restartWaitTimeout": 60, "defaultCompress": false, "defaultMode": "sql", "devapi.dbObjectHandles": true, "history.autoSave": false, "history.maxSize": 1000, "history.sql.ignorePattern": "*IDENTIFIED*:*PASSWORD*", "history.sql.syslog": false, "interactive": true, "logLevel": 5, "oci.configFile": "/home/dvaneeden/.oci/config", "oci.profile": "DEFAULT", "outputFormat": "table", "pager": "less", <--------------------------------- "passwordsFromStdin": false, "resultFormat": "table", "sandboxDir": "/home/dvaneeden/mysql-sandboxes", "showColumnTypeInfo": false, "showWarnings": true, "useWizards": true, "verbose": 0 }