Clone the repository or download a zip/tar from github.
Run make
in the source directory, and then cargo build --release
.
You'll find the binary in target/release/mysqld-reload
.
mysqld-reload 0.2.1
Massimiliano Torromeo <[email protected]>
Reads the MySQL configuration files and applies the configured variables at runtime when their values don't match.
USAGE:
mysqld-reload [FLAGS] [OPTIONS]
FLAGS:
-d, --dry-run Do not apply values
-h, --help Prints help information
--no-defaults Don't read default options from any option file, except for login file
-V, --version Prints version information
-v, --verbose Print the SQL statements to stdout
OPTIONS:
-c, --cnf <cnf> MySQL server configuration file [default: /etc/my.cnf]
--defaults-file <defaults-file> Only read default options from the given file
-H, --host <host> Connect to host
-p, --password <password> Password to use when connecting to server
-P, --port <port> Port number to use for connection
-S, --socket <socket> The socket file to use for connection
-u, --user <user> User for login if not current user
!include
/!includedir
directive in the mysql configuration files are currently ignored. You can workaround it by running the command against all included files with mysqld-reload -c CONFIG.cnf
.
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
This software is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.