1# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
2#
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License, version 2.0,
5# as published by the Free Software Foundation.
6#
7# This program is also distributed with certain software (including
8# but not limited to OpenSSL) that is licensed under separate terms,
9# as designated in a particular file or component or in included license
10# documentation.  The authors of MySQL hereby grant you an additional
11# permission to link the program and your derivative works with the
12# separately licensed software that they have included with MySQL.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17# GNU General Public License, version 2.0, for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program; if not, write to the Free Software
21# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
22
23# my.cnf -- MySQL Server configuration file (options case-sensitive)
24
25[client]
26
27[mysql_cluster]
28
29ndb-connectstring=127.0.0.1
30
31[mysqld]
32# ndb<=7.1: enable innodb plugin
33ignore-builtin-innodb
34plugin-load=innodb=ha_innodb_plugin.so
35
36server-id=0
37skip-slave-start
38
39# maximum size of one packet or any generated/intermediate string
40# should be as big as the largest BLOB you want to use. The protocol limit
41# for max_allowed_packet is 1GB. The value should be a multiple of 1024;
42# nonmultiples are rounded down to the nearest multiple.
43#
44# caught java.sql.BatchUpdateException: Packet for query is too large (1062229 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.
45# java.sql.BatchUpdateException: Packet for query is too large (1062229 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.
46max_allowed_packet=16M
47
48#slave-allow-batching
49ndb-batch-size=1000000
50
51ndb-use-exact-count=0
52ndb-index-stat-enable=0
53ndb-force-send=1
54# ndb<=7.2: enable condition pushdown
55engine-condition-pushdown=1
56
57ndbcluster
58