Bug #78557 Make [DEFAULT] section in configuration file optional
Submitted: 25 Sep 2015 9:49 Modified: 2 Oct 2015 22:40
Reporter: Geert Vanderkelen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Router Configuration Severity:S3 (Non-critical)
Version:2.0.2 OS:Any
Assigned to: CPU Architecture:Any

[25 Sep 2015 9:49] Geert Vanderkelen
Description:
We need to make [DEFAULT] section in the configuration file optional.

How to repeat:
.
[2 Oct 2015 9:54] Geert Vanderkelen
Posted by developer:
 
commit 1fb627dd19ab4589199f57c8e5195c8f58a47324
Author: Geert Vanderkelen <geert.vanderkelen@oracle.com>
Date:   Fri Oct 2 07:52:25 2015 +0200

    BUG21900022 Make [DEFAULT] section optional
    
    We make the [DEFAULT] section in the configuration files optional.
    The default values are defined at compile time and shown in the
    output of the `mysqlrouter --help`.
    
    The values for logging_folder, plugin_folder, runtime_folder and
    config_folder will be different when using a different installation
    layout (CMake -DINSTALL_LAYOUT option). When no installation layout
    is specified (defaulting to STANDALONE), the defaults will be:
    
      $ /usr/local/bin/mysqlrouter --help
      ..
      Default configuration:
        config_folder  = /usr/local/etc/mysqlrouter
        logging_folder =
        plugin_folder  = /usr/local/lib/mysqlrouter
        runtime_folder = /usr/local/
    
    When started, Router will now report on the console to which log file
    it is writing messages.
    
    The Debian-based packaging has been updated to reflect the new
    defaults for the configuration and log location. We also simplified
    the structure of `deb-*` folders so it is easier to maintain.
[2 Oct 2015 22:40] Philip Olson
Posted by developer:
 
These default folder values are now documented.