[osmosis-dev] Database command line options

Simon Nuttall info at cyclestreets.net
Fri Mar 13 05:05:48 UTC 2015


Can additional options be included in the command line that starts the database?

E.g to set these two MySQL options:

character_set_server=utf8
collation_server=utf8_unicode_ci

via the command line?

This reference:

  http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage#Database_Login_Credentials

does not make it clear whether arguments beyond those listed (or
included in the authFile) are appended to the command that runs the
database.

Currently we do this by setting those options in the MySQL conf.d
folder (or my.cnf file), but that affects all applications on that
machine that use MySQL.

Simon



More information about the osmosis-dev mailing list