热门文章 | 热门软件| 热门源码 | 热门电影 | 知识库 | 联系我们
软件 源码 教程 影视 健康 招聘
  HTML | JavaScript | ASP | PHP | JSP | NET | VB | VC | VF | Windows | Linux | Mysql | Mssql | Oracle | Struts 
当前位置: 创世纪计算机资源网 -> 文章频道 ->mysql 
站内搜索:
强烈推荐:MySQL 4.1字符集支持的原理(3)
作者:Web4C 来源:赛迪网技术社区 整理日期:2007-4-10

     重新启动集群(顺序不能弄错)

在主机ndb1_mgmd_sqld1上执行如下过程:

shell>; ndb_mgmd -f /var/lib/mysql-cluster/config.ini

在两台主机上执行如下过程:

shell>;/usr/local/mysql/bin/ndbd

启动完ndbd进程后启动sqld进程:

shell>;/etc/init.d/mysql.server start

附:

config.ini中各部分解释:

[COMPUTER]: 定义群集主机.

[NDBD]: 定义群集数据节点.

[MYSQLD]: 定义Sql server节点.

[MGM|NDB_MGMD]: Defines the management server node in the cluster.

[TCP]: Defines TCP/IP connections between nodes in the cluster, with TCP/IP being the default connection protocol.

[SHM]: Defines shared-memory connections between nodes.

在MySQL 4.1.9之前,这个功能必须使用--with-ndb-shm option编译进去, 从MySQL 4.1.9-max版本开始, it is enabled by default。

[1]  [2]  [3]  
相关文章