New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SHOW SETTINGS #849
Comments
should be fixed at 48c88cb there |
Output example: mysql> show settings;
+------------------------+---------------------------------+
| Setting_name | Value |
+------------------------+---------------------------------+
| configuration_file | /home/snikolaev/configless.conf |
| worker_pid | 5 |
| listen | 127.0.0.1:9315:mysql |
| data_dir | /home/snikolaev/data |
| pid_file | /home/snikolaev/9315.pid |
| log | /home/snikolaev/searchd.log |
| query_log | /home/snikolaev/query.log |
| query_log_commands | 1 |
| not_terms_only_allowed | 1 |
| binlog_path | /home/snikolaev/data/binlog |
| sphinxql_state | /home/snikolaev/data/state.sql |
+------------------------+---------------------------------+
11 rows in set (0.00 sec) There are a few issues
|
As discussed later it's better not to output all the settings with their default values by default since then it's difficult to distinguish default values from the values defined in config which may be important in some cases. But in some other cases it's important to see all the settings the instance is running with, for that we can implement |
➤ Stan commented: I've just pushed fixes of points from this ticket but NOT the currently However |
should be done at a75173a |
➤ Sergey Nikolaev commented: Reopening since there's a bug: empty
i.e. non-empty |
➤ Stan commented: should be fixed at d8c16a0 |
It would be convenient for the backup script and other purposes to be able to read current settings of the instance from inside it. What it can look like:
i.e.:
.
index
andsource
shouldn't be in the list for the sake of securityconfiguration_file
- absolute path to the configuration fileworker_pid
- main process' pid fileThe text was updated successfully, but these errors were encountered: