过去 3 周我一直在尝试mysql-cluster-gpl-7.1.17-linux-i686-glibc23.tar.gz在ubuntu 10.04服务器上进行设置,但尚未成功。
我遵循的链接是:
http://stepbysteparticles.com/index.php?option=com_content&view=article&id=48&Itemid=54
http://cyrenity.wordpress.com/2010/08/12/howto-setup-mysql-cluster-beginners-tutorial/
http://tech.jocke.no/2011/03/13/mysql-cluster-how-to-with-load-balancing-failover/
http://www.lod.com/whitepapers/mysql-cluster-howto.html
http://blog.rimuhosting.com/2011/07/06/building-database-clusters-with-mysql/
上面链接中的所有配置几乎相同,但有一些细微的变化,我只是尝试了所有的工作,但没有。
我已经在serverfault 中发了一个帖子,但我仍然无法让它工作。
如果经过多次尝试没有任何效果,我总是会回到这里,现在我是。
此外,我不明白是否mysql-server或mysql-client需要单独安装mysql-clusterelsemysql-cluster就足以mysqld在 SQL 节点上运行。在我的情况下,设置是3 nodes=(data1+sql1 + data2+sql2 + mgmt node).
常见错误:
/etc/init.d/mysql.server 启动
输出:
Starting MySQL
* Couldn't find MySQL manager (/usr/bin/mysqlmanager) or server (/usr/bin/mysqld_safe)
Run Code Online (Sandbox Code Playgroud)
我什至尝试复制/usr/local/mysql/bin/*到/usr/bin但仍然没有用,因为它. * Manager of pid-file quit without updating file.在尝试开始时告诉我们!
尝试在 data/sql 节点上启动 mysql 守护进程时
cd /usr/local/mysql
./bin/mysqld_safe …