~mohyt/drizzle/trunk-bug-943657

« back to all changes in this revision

Viewing changes to plugin/console/docs/index.rst

  • Committer: Mark Atwood
  • Date: 2012-02-13 15:08:59 UTC
  • mfrom: (2504.2.3 doc-fixes)
  • Revision ID: me@mark.atwood.name-20120213150859-xw1uku1vpi1d74n4
mergeĀ lp:~stewart/drizzle/myisam-and-console-docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.. _console_plugin:
 
2
 
 
3
Console Plugin
 
4
==============
 
5
 
 
6
:program:`console` is a protocol plugin that instead of providing access to Drizzle through a network port or UNIX socket provides a direct interactive text console via stdin and stdout. It allows you to use Drizzle in a similar way that the sqlite command line client allows you to use sqlite.
 
7
 
 
8
.. _console_loading:
 
9
 
 
10
Loading
 
11
-------
 
12
 
 
13
To load this plugin, start :program:`drizzled` with::
 
14
 
 
15
   --plugin-add=console
 
16
 
 
17
.. seealso::
 
18
 
 
19
   :ref:`drizzled_plugin_options` for more information about adding and removing plugins.
 
20
 
 
21
.. _console_configuration:
 
22
 
 
23
Configuration
 
24
-------------
 
25
 
 
26
.. option:: --console.enable
 
27
 
 
28
   :Default: ``false``
 
29
 
 
30
   Enables the console.
 
31
 
 
32
.. option:: --consoe.debug
 
33
 
 
34
   :Default: ``false``
 
35
 
 
36
   Turns on extra debugging output
 
37
 
 
38
.. option:: --console.username ARG
 
39
 
 
40
   :Default: ``current logged in user``
 
41
 
 
42
   The username to authenticate to Drizle as. This option works the same way as connecting as a username over other protocols.
 
43
 
 
44
.. option:: --console.password ARG
 
45
 
 
46
   The password to use to authenticate with.
 
47
 
 
48
.. option:: --console.catalog ARG
 
49
 
 
50
   :Default: ``LOCAL``
 
51
 
 
52
   Which catalog to connect to. In current released versions of Drizzle, only the LOCAL catalog is supported, althoug in the future other catalogs will be usable.
 
53
 
 
54
.. option:: --console.schema ARG
 
55
 
 
56
   Which schema to connect to.
 
57
 
 
58
.. _console_variables:
 
59
 
 
60
Variables
 
61
---------
 
62
 
 
63
This plugin does not register any variables.
 
64
 
 
65
.. _console_examples:
 
66
 
 
67
Examples
 
68
--------
 
69
 
 
70
To use the Drizzle console, start Drizzle like:
 
71
 
 
72
.. code-block:: bash
 
73
 
 
74
   $ sbin/drizzled --plugin-add=console --console.enable
 
75
 
 
76
You can now interact with Drizzle in pretty much the same way you can as through the command line client.
 
77
 
 
78
You probably never want to enable the console plugin in the configuration file.
 
79
 
 
80
.. _console_limitations:
 
81
 
 
82
Limitations
 
83
-----------
 
84
 
 
85
There is currently no way to change your authentication credentials once you've launched Drizzle with the console plugin.
 
86
 
 
87
.. _console_authors:
 
88
 
 
89
Authors
 
90
-------
 
91
 
 
92
:Code: Eric Day
 
93
:Documentation: Stewart Smith
 
94
 
 
95
.. _console_version:
 
96
 
 
97
Version
 
98
-------
 
99
 
 
100
This documentation applies to **console 0.2**.
 
101
 
 
102
To see which version of the plugin a Drizzle server is running, execute:
 
103
 
 
104
.. code-block:: mysql
 
105
 
 
106
   SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='console'
 
107
 
 
108
Changelog
 
109
---------
 
110
 
 
111
v0.1
 
112
^^^^
 
113
* First release.
 
114
 
 
115
v0.2
 
116
^^^^
 
117
* Support connecting to a CATALOG
 
118
* Rename db parameter to schema
 
119