I don't see that even this would be mentioned in the docs, and I
suppose a default install of Drizzle has no configuration file with
it, so...

If I wanted to have a configuration file for Drizzle, what would I
traditionally call it? /etc/drizzle/drizzle.cnf? Or perhaps
drizzled.cnf - see next question...

A MySQL my.cnf conf containts [sections]. Each section contains
parameters for different binaries, so you have [mysqld], [mysql] and
so on...

In Drizzle, this is not the case. The configuration file looks the
same, so you can have sections, but they refer to plugins/namespace,
not the binary name:

***
Config files support section headers such as `[innodb]` with all options
occuring subsequently being prefixed by the section header. For instance, if
one were do give:

.. code-block:: ini

  [innodb]
  buffer_pool_size=10M
  log_file_size=5M

It would be the same as:

.. code-block:: ini

  innodb.buffer_pool_size=10M
  innodb.log_file_size
***

So this means, all of the configuration file is read by drizzled and
only drizzled.

If I wanted to also have a configuration file for the drizzle client,
I presume I would need to have a different file?

Except it seems drizzle client doesn't even read a configuration file:

$ bin/drizzle --defaults-file=etc/drizzle.conf
Error:unknown option defaults-file

On the other hand, there still seems to be a --no-defaults switch?

$ bin/drizzle --no-defaults
Welcome to the Drizzle client..  Commands end with ; or \g.
Your Drizzle connection id is 1
Connection protocol: mysql


So I guess I'm just a very confused Drizzle user, but essentially my
question is: If I wanted to use a configuration file for the drizzle
client, how would that work?

henrik




-- 
[email protected]
+358-40-8211286 skype: henrik.ingo irc: hingo
www.openlife.cc

My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to