[ndb_mgmd]
hostname=192.168.1.101
id=1
[ndbd default]
noofreplicas=2
datadir=D:\DEVTOOLS\mysqlcluster\cluster\data
[ndbd]
hostname=192.168.1.102
id=2
[ndbd]
hostname=192.168.1.103
id=3
[mysqld]
id=102
hostname=192.168.1.102
[mysqld]
id=103
hostname=192.168.1.103
[mysqld]
id=104
hostname=192.168.1.104
--------------------------------------------------------------------------------------------------------------------------------
# MySQL Server Instance Configuration File
# ----------------------------------------------------------------------
# Generated by the MySQL Server Instance Configuration Wizard
#
#
# Installation Instructions
# ----------------------------------------------------------------------
#
# On Linux you can copy this file to /etc/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options
# (@localstatedir@ for this installation) or to
# ~/.my.cnf to set user-specific options.
#
# On Windows you should keep this file in the installation directory
# of your server (e.g. C:\Program Files\MySQL\MySQL Server X.Y). To
# make sure the server reads the config file use the startup option
# "--defaults-file".
#
# To run run the server from the command line, execute this in a
# command line shell, e.g.
# mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
#
# To install the server as a Windows service manually, execute this in a
# command line shell, e.g.
# mysqld --install MySQLXY --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
#
# And then execute this in a command line shell to start the server, e.g.
# net start MySQLXY
#
#
# Guildlines for editing this file
# ----------------------------------------------------------------------
#
# In this file, you can use all long options that the program supports.
# If you want to know the options a program supports, start the program
# with the "--help" option.
#
# More detailed information about the individual options can also be
# found in the manual.
#
#
# CLIENT SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by MySQL client applications.
# Note that only client applications shipped by MySQL are guaranteed
# to read this section. If you want your own MySQL client program to
# honor these values, you need to specify it as an option during the
# MySQL client library initialization.
#
[client]
port=3301
[mysql]
default-character-set=utf8
# SERVER SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by the MySQL Server. Make sure that
# you have installed the server correctly (see above) so it reads this
# file.
#
[mysqld]
ndb-nodeid=102
# The TCP/IP Port the MySQL Server will listen on
port=3301
#Path to installation directory. All paths are usually resolved relative to this.
basedir="D:/DEVTOOLS/mysqlcluster/mysql_one/mysql5.1.32"
#Path to the database root
datadir="D:/DEVTOOLS/mysqlcluster/mysql_one/mysql5.1.32/Data/"
# The default character set that will be used when a new schema or table is
# created and no character set is defined
default-character-set=utf8
# The default storage engine that will be used when create new tables when
default-storage-engine=INNODB
# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
# The maximum amount of concurrent sessions the MySQL server will
# allow. One of these connections will be reserved for a user with
# SUPER privileges to allow the administrator to login even if the
# connection limit has been reached.
max_connections=100
# Query cache is used to cache SELECT results and later return them
# without actual executing the same query once again. Having the query
# cache enabled may result in significant speed improvements, if your
# have a lot of identical queries and rarely changing tables. See the
# "Qcache_lowmem_prunes" status variable to check if the current value
# is high enough for your load.
# Note: In case your tables change very often or if your queries are
# textually different every time, the query cache may result in a
# slowdown instead of a performance improvement.
query_cache_size=0
# The number of open tables for all threads. Increasing this value
# increases the number of file descriptors that mysqld requires.
# Therefore you have to make sure to set the amount of open files
# allowed to at least 4096 in the variable "open-files-limit" in
# section [mysqld_safe]
table_cache=256
# Maximum size for internal (in-memory) temporary tables. If a table
# grows larger than this value, it is automatically converted to disk
# based table This limitation is for a single table. There can be many
# of them.
tmp_table_size=17M
# How many threads we should keep in a cache for reuse. When a client
# disconnects, the client's threads are put in the cache if there aren't
# more than thread_cache_size threads from before. This greatly reduces
# the amount of thread creations needed if you have a lot of new
# connections. (Normally this doesn't give a notable performance
# improvement if you have a good thread implementation.)
thread_cache_size=8
#*** MyISAM Specific options
# The maximum size of the temporary file MySQL is allowed to use while
# recreating the index (during REPAIR, ALTER TABLE or LOAD DATA INFILE.
# If the file-size would be bigger than this, the index will be created
# through the key cache (which is slower).
myisam_max_sort_file_size=100G
# If the temporary file used for fast index creation would be bigger
# than using the key cache by the amount specified here, then prefer the
# key cache method. This is mainly used to force long character keys in
# large tables to use the slower key cache method to create the index.
myisam_sort_buffer_size=33M
# Size of the Key Buffer, used to cache index blocks for MyISAM tables.
# Do not set it larger than 30% of your available memory, as some memory
# is also required by the OS to cache rows. Even if you're not using
# MyISAM tables, you should still set it to 8-64M as it will also be
# used for internal temporary disk tables.
key_buffer_size=24M
# Size of the buffer used for doing full table scans of MyISAM tables.
# Allocated per thread, if a full scan is needed.
read_buffer_size=64K
read_rnd_buffer_size=256K
sort_buffer_size=256K
innodb_additional_mem_pool_size=2M
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=1M
innodb_buffer_pool_size=45M
innodb_log_file_size=23M
innodb_thread_concurrency=8
-----------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mysql_cluster]
"Type"=dword:00000010
"Start"=dword:00000003
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):44,00,3a,00,5c,00,44,00,45,00,56,00,54,00,4f,00,4f,00,4c,00,\
53,00,5c,00,6d,00,79,00,73,00,71,00,6c,00,63,00,6c,00,75,00,73,00,74,00,65,\
00,72,00,5c,00,63,00,6c,00,75,00,73,00,74,00,65,00,72,00,5c,00,62,00,69,00,\
6e,00,5c,00,6d,00,79,00,73,00,71,00,6c,00,64,00,2e,00,65,00,78,00,65,00,20,\
00,6d,00,79,00,73,00,71,00,6c,00,5f,00,63,00,6c,00,75,00,73,00,74,00,65,00,\
72,00,00,00
"DisplayName"="mysql_cluster"
"ObjectName"="LocalSystem"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mysql_cluster\Enum]
"0"="Root\\LEGACY_mysql_cluster\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mysql_cluster\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
------------------------------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mysql_cluster_one]
"Type"=dword:00000010
"Start"=dword:00000003
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):44,00,3a,00,5c,00,44,00,45,00,56,00,54,00,4f,00,4f,00,4c,00,\
53,00,5c,00,6d,00,79,00,73,00,71,00,6c,00,63,00,6c,00,75,00,73,00,74,00,65,\
00,72,00,5c,00,6d,00,79,00,73,00,71,00,6c,00,5f,00,6f,00,6e,00,65,00,5c,00,\
6d,00,79,00,73,00,71,00,6c,00,35,00,2e,00,31,00,2e,00,33,00,32,00,5c,00,62,\
00,69,00,6e,00,5c,00,6d,00,79,00,73,00,71,00,6c,00,64,00,2e,00,65,00,78,00,\
65,00,20,00,6d,00,79,00,73,00,71,00,6c,00,5f,00,63,00,6c,00,75,00,73,00,74,\
00,65,00,72,00,5f,00,6f,00,6e,00,65,00,00,00
"DisplayName"="mysql_cluster_one"
"ObjectName"="LocalSystem"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mysql_cluster_one\Enum]
"0"="Root\\LEGACY_mysql_cluster_one\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mysql_cluster_one\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
分享到:
相关推荐
MySQL Cluster 8.0.27( Linux - ...mysql-cluster-8.0.27-linux-glibc2.12-x86_64.part2.rar https://download.csdn.net/download/weixin_43800734/43757676 mysql-cluster-8.0.27-linux-glibc2.12-x86_64.part1.rar ...
MySQL Cluster 8.0.27 是一个高度可用、可扩展的数据库解决方案,专为对...在Windows环境下,通过解压`mysql-cluster-8.0.27-winx64.zip`文件,按照官方文档的步骤,用户可以快速部署和配置自己的MySQL Cluster环境。
在“mysql-cluster-8.0.20-winx64.zip”这个压缩包中,我们找到了MySQL Cluster的Windows 64位版本。下面将详细解释MySQL Cluster的相关知识点。 1. **MySQL Cluster架构**:MySQL Cluster由三个主要组件构成:SQL...
mysql-cluster for windows配置mysql-cluster for windows配置
【MySQL-Cluster集群在Linux下的配置详解】 MySQL-Cluster是一种高可用、高性能的数据库解决方案,它提供了数据的分布式存储和处理能力,确保即使在部分硬件故障的情况下也能保持服务的连续性和数据的一致性。本篇...
7. 安装与配置:`mysql-cluster-gpl-7.2.4-win32.msi`是一个Windows Installer包,用于简化MySQL Cluster的安装过程。用户只需按照向导步骤即可完成安装,然后根据企业需求配置集群参数,如节点数量、数据分区策略等...
MySQL Cluster 8.0.27(mysql-cluster-community-server-8.0.27-1.el8.aarch64.rpm ) 适用于Red Hat Enterprise Linux 8 / Oracle Linux 8 (ARM, 64-bit), RPM Package MySQL Server
mysql-cluster-gpl-7.4.10-winx64.msimysql-cluster-gpl-7.4.10-winx64.msi
MySQL-Cluster-embedded-gpl-7.2.4-1.sles11.x86_64.rarMySQL-Cluster-embedded-gpl-7.2.4-1.sles11.x86_64.rar
MySQL Cluster 8.0.27(mysql-cluster-community-server-8.0.27-1.el8.x86_64.rpm ) 适用于Red Hat Enterprise Linux 8 / Oracle Linux 8 (x86, 64-bit), RPM Package MySQL Server
MySQL Cluster 8.0.27( mysql-cluster-community-server-8.0.27-1.el7.x86_64.rpm) 适用于Red Hat Enterprise Linux 7 / Oracle Linux 7 (x86, 64-bit), RPM Package MySQL Server
在解压`mysql-cluster-gpl-7.2.8.tar.gz`后,你会得到一系列文件和目录,其中包括源代码、文档、配置脚本以及构建和安装MySQL Cluster所需的工具。通常,安装步骤涉及编译源代码、配置参数、创建集群以及启动数据库...
mysql-cluster-8.0.20-winx64.msi
mysql-cluster-gpl-7.3.4-win32第一部分
MySQL Cluster是MySQL数据库的一种高可用性和高性能的集群方案,主要适用于大型应用。它支持自动分区,可以在多个物理服务器上存储数据,实现分布式存储和负载均衡,提高数据处理能力,同时保证故障时的自动故障转移...
MySQL-Cluster 集群安装部署 MySQL-Cluster 是一种高可用、高性能的数据库集群解决方案,能够提供高可用性、实时性能和高扩展性的数据库服务。下面我们将详细介绍 MySQL-Cluster 的安装部署过程。 MySQL-Cluster ...
MySQL-Cluster-client-gpl-7.2.8-1.rhel5.i386.rpm
ySQL是一种开放源代码的关系型数据库管理系统(RDBMS),使用最常用的数据库管理语言--结构化查询语言(SQL)进行数据库管理