[osmosis-dev] Database command line options
Brett Henderson
brett at bretth.com
Thu Jun 4 04:03:27 UTC 2015
On 13 March 2015 at 16:05, Simon Nuttall <info at cyclestreets.net> wrote:
> 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
>
I was under the impression that these settings were obtained by the
database driver when connecting to the database.
>
> 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.
>
There's currently no way to pass additional arguments. Patches welcome of
course.
>
> 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.
>
Are you sure that the settings in my.cnf are picked up? I wasn't aware of
the JDBC driver doing that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20150604/4d8e9b27/attachment.html>
More information about the osmosis-dev
mailing list