Bug #78812 Router config file location wrong
Submitted: 12 Oct 2015 22:19 Modified: 16 Feb 2016 23:16
Reporter: Todd Farmer (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Router Installation Severity:S3 (Non-critical)
Version:2.0.2 OS:Any
Assigned to: CPU Architecture:Any

[12 Oct 2015 22:19] Todd Farmer
Description:
MySQL Router documentation states that the following are used for configuration file locations:

 On Linux and OS X, MySQL Router scans the following locations:

    /etc/mysql/mysqlrouter.ini: Standard MySQL directory
    Note

    Unlike MySQL server, the backward compatible path "/etc/mysqlrouter.ini" is not supported.

    ${CMAKE_INSTALL_PREFIX}/etc/mysqlrouter.ini: If defined during compile time

    ENV{MYSQL_ROUTER_HOME}/mysqlrouter.ini: MySQL Router's home directory

    ENV{HOME}/.mysqlrouter.ini: The user's home directory, where the file name begins with a period. 

That is inconsistent with where I find the config file, after installing Ubuntu 14.04 64-bit GPL packages.  I find it here:

/etc/mysqlrouter/mysqlrouter.ini

That explicitly contradicts the documented reasoning behind default file location:

"These locations mimic the MySQL Server for defining where MySQL Router looks for configuration files."

How to repeat:
Install Ubuntu 14.04 64-bit packages.  Note location of resulting configuration file.

Suggested fix:
Reconcile product behavior and documentation.
[16 Feb 2016 23:16] Philip Olson
Posted by developer:
 
This is now fixed, thank you for the bug report.