1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
|
.. _mysql_protocol_plugin:
MySQL Protocol
==============
:program:`mysql_protocol` implements the MySQL network protocol.
.. _mysql_protocol_loading:
Loading
-------
This plugin is loaded by default, but it may need to be configured. See
the plugin's :ref:`mysql_protocol_configuration` and
:ref:`mysql_protocol_variables`.
To stop the plugin from loading by default, start :program:`drizzled`
with::
--plugin-remove=mysql_protocol
.. seealso:: :ref:`drizzled_plugin_options` for more information about adding and removing plugins.
.. _mysql_protocol_configuration:
Configuration
-------------
These command line options configure the plugin when :program:`drizzled`
is started. See :ref:`command_line_options` for more information about specifying
command line options.
.. program:: drizzled
.. option:: --mysql-protocol.bind-address ARG
:Default: localhost
:Variable: :ref:`mysql_protocol_bind_address <mysql_protocol_bind_address>`
Address to bind to.
.. option:: --mysql-protocol.buffer-length ARG
:Default: 16384
:Variable: :ref:`mysql_protocol_buffer_length <mysql_protocol_buffer_length>`
Buffer length.
.. option:: --mysql-protocol.connect-timeout ARG
:Default: 10
:Variable: :ref:`mysql_protocol_connect_timeout <mysql_protocol_connect_timeout>`
Connect Timeout.
.. option:: --mysql-protocol.max-connections ARG
:Default: 1000
:Variable: :ref:`mysql_protocol_max_connections <mysql_protocol_max_connections>`
Maximum simultaneous connections.
.. option:: --mysql-protocol.port ARG
:Default: 3306
:Variable: :ref:`mysql_protocol_port <mysql_protocol_port>`
Port number to use for connection or 0 for default to with MySQL
.. option:: --mysql-protocol.read-timeout ARG
:Default: 30
:Variable: :ref:`mysql_protocol_read_timeout <mysql_protocol_read_timeout>`
Read Timeout.
.. option:: --mysql-protocol.retry-count ARG
:Default: 10
:Variable: :ref:`mysql_protocol_retry_count <mysql_protocol_retry_count>`
Retry Count.
.. option:: --mysql-protocol.write-timeout ARG
:Default: 60
:Variable: :ref:`mysql_protocol_write_timeout <mysql_protocol_write_timeout>`
Write Timeout.
.. _mysql_protocol_variables:
Variables
---------
These variables show the running configuration of the plugin.
See `variables` for more information about querying and setting variables.
.. _mysql_protocol_bind_address:
* ``mysql_protocol_bind_address``
:Scope: Global
:Dynamic: No
:Option: :option:`--mysql-protocol.bind-address`
Address to bind to.
.. _mysql_protocol_buffer_length:
* ``mysql_protocol_buffer_length``
:Scope: Global
:Dynamic: No
:Option: :option:`--mysql-protocol.buffer-length`
Buffer length.
.. _mysql_protocol_connect_timeout:
* ``mysql_protocol_connect_timeout``
:Scope: Global
:Dynamic: No
:Option: :option:`--mysql-protocol.connect-timeout`
Connect Timeout.
.. _mysql_protocol_max_connections:
* ``mysql_protocol_max_connections``
:Scope: Global
:Dynamic: No
:Option: :option:`--mysql-protocol.max-connections`
Maximum simultaneous connections.
.. _mysql_protocol_port:
* ``mysql_protocol_port``
:Scope: Global
:Dynamic: No
:Option: :option:`--mysql-protocol.port`
Port number to use for connection or 0 for default to with MySQL
.. _mysql_protocol_read_timeout:
* ``mysql_protocol_read_timeout``
:Scope: Global
:Dynamic: No
:Option: :option:`--mysql-protocol.read-timeout`
Read Timeout.
.. _mysql_protocol_retry_count:
* ``mysql_protocol_retry_count``
:Scope: Global
:Dynamic: No
:Option: :option:`--mysql-protocol.retry-count`
Retry Count.
.. _mysql_protocol_write_timeout:
* ``mysql_protocol_write_timeout``
:Scope: Global
:Dynamic: No
:Option: :option:`--mysql-protocol.write-timeout`
Write Timeout.
.. _mysql_protocol_examples:
Examples
--------
Sorry, there are no examples for this plugin.
.. _mysql_protocol_authors:
Authors
-------
Eric Day
.. _mysql_protocol_version:
Version
-------
This documentation applies to **mysql_protocol 0.1**.
To see which version of the plugin a Drizzle server is running, execute:
.. code-block:: mysql
SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='mysql_protocol'
Changelog
---------
v0.1
^^^^
* First Drizzle version.
|