On 13 March 2015 at 16:05, Simon Nuttall <i...@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.
_______________________________________________
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to