<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creating a simple Cluster on a single LINUX host</title>
	<atom:link href="http://www.clusterdb.com/mysql-cluster/creating-a-simple-cluster-on-a-single-linux-host/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clusterdb.com/mysql-cluster/creating-a-simple-cluster-on-a-single-linux-host/</link>
	<description>MySQL Cluster database &#38; MySQL Replication</description>
	<lastBuildDate>Thu, 26 Aug 2010 08:05:11 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://www.clusterdb.com/mysql-cluster/creating-a-simple-cluster-on-a-single-linux-host/comment-page-1/#comment-7046</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 07 Jun 2010 10:37:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.clusterdb.com/?p=172#comment-7046</guid>
		<description>Hi Steve, 

 1186 is the default port that the MySQL Cluster management node uses (can be override it in config.ini). When you run ndb_mgmd, it will listen to that port.

Regards, Andrew.</description>
		<content:encoded><![CDATA[<p>Hi Steve, </p>
<p> 1186 is the default port that the MySQL Cluster management node uses (can be override it in config.ini). When you run ndb_mgmd, it will listen to that port.</p>
<p>Regards, Andrew.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Cabrera</title>
		<link>http://www.clusterdb.com/mysql-cluster/creating-a-simple-cluster-on-a-single-linux-host/comment-page-1/#comment-6944</link>
		<dc:creator>Daniel Cabrera</dc:creator>
		<pubDate>Thu, 03 Jun 2010 08:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.clusterdb.com/?p=172#comment-6944</guid>
		<description>Great work and thanks a lot for this guide.

I´ve followed the instructions, and found some problems on ubuntu 10.04 and MySqlCluster 7.0.13 .

I´d like to share this to people who migth find the same problems on ubuntu.

First, the base_dir must be owned by mysql user( &quot;mysql&quot; in my system), else scripts/mysql_install_db fails to install the databases.
It took me a while to discover this, but scripts/mysql_install_db runs flawlessly after running 

shell&gt;chown -R mysql &quot;extracted folder&quot; ( in this guide /home/billy/mysql/7_0_6 )

after creating the data folders

Then, in the my.*.conf files, you must alter three lines :

1.-&gt; &quot;log-bin&quot; should read &quot;log-bin=auth-bin&quot; (or whatever log type you want ) to get rid of this warning when running mysqld 

&quot; No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use &#039;--log-bin=auth-bin&#039; to avoid this problem. &quot;

2.-&gt; You must add this line &quot;user=mysql&quot; to run bin/mysql without errors and security warnings

3.-&gt; Also,you should include &quot;socket=/tmp/my.*.sock&quot;
were * is the nomber of the config file name(you could use whatever file name you want, they just have to be different for each config file) to connect to servers using bin/mysql.

The command should be :

shell&gt;bin/mysql -h localhost -P 3306 \ --socket=/tmp/my.1.sock 

to avoid this error : 

ERROR 2002 (HY000): Can&#039;t connect to local MySQL server through socket &#039;/var/run/mysqld/mysqld.sock&#039; (2)


So, finally the conf/my.1.conf file should look like this :

[mysqld]
user=mysql
ndb-nodeid=4
ndbcluster
datadir=&quot;basedir&quot;/data/data1
basedir=&quot;basedir&quot;
port=3306
server-id=1
log-bin=auth-bin
socket=/tmp/my.1.sock


Hope this helps to get this demo install running on Lucid Lynx

Thanks again for your guide.</description>
		<content:encoded><![CDATA[<p>Great work and thanks a lot for this guide.</p>
<p>I´ve followed the instructions, and found some problems on ubuntu 10.04 and MySqlCluster 7.0.13 .</p>
<p>I´d like to share this to people who migth find the same problems on ubuntu.</p>
<p>First, the base_dir must be owned by mysql user( &#8220;mysql&#8221; in my system), else scripts/mysql_install_db fails to install the databases.<br />
It took me a while to discover this, but scripts/mysql_install_db runs flawlessly after running </p>
<p>shell&gt;chown -R mysql &#8220;extracted folder&#8221; ( in this guide /home/billy/mysql/7_0_6 )</p>
<p>after creating the data folders</p>
<p>Then, in the my.*.conf files, you must alter three lines :</p>
<p>1.-&gt; &#8220;log-bin&#8221; should read &#8220;log-bin=auth-bin&#8221; (or whatever log type you want ) to get rid of this warning when running mysqld </p>
<p>&#8221; No argument was provided to &#8211;log-bin, and &#8211;log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use &#8216;&#8211;log-bin=auth-bin&#8217; to avoid this problem. &#8221;</p>
<p>2.-&gt; You must add this line &#8220;user=mysql&#8221; to run bin/mysql without errors and security warnings</p>
<p>3.-&gt; Also,you should include &#8220;socket=/tmp/my.*.sock&#8221;<br />
were * is the nomber of the config file name(you could use whatever file name you want, they just have to be different for each config file) to connect to servers using bin/mysql.</p>
<p>The command should be :</p>
<p>shell&gt;bin/mysql -h localhost -P 3306 \ &#8211;socket=/tmp/my.1.sock </p>
<p>to avoid this error : </p>
<p>ERROR 2002 (HY000): Can&#8217;t connect to local MySQL server through socket &#8216;/var/run/mysqld/mysqld.sock&#8217; (2)</p>
<p>So, finally the conf/my.1.conf file should look like this :</p>
<p>[mysqld]<br />
user=mysql<br />
ndb-nodeid=4<br />
ndbcluster<br />
datadir=&#8221;basedir&#8221;/data/data1<br />
basedir=&#8221;basedir&#8221;<br />
port=3306<br />
server-id=1<br />
log-bin=auth-bin<br />
socket=/tmp/my.1.sock</p>
<p>Hope this helps to get this demo install running on Lucid Lynx</p>
<p>Thanks again for your guide.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.clusterdb.com/mysql-cluster/creating-a-simple-cluster-on-a-single-linux-host/comment-page-1/#comment-6895</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 01 Jun 2010 00:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.clusterdb.com/?p=172#comment-6895</guid>
		<description>Hi.. How to know where i can find the configuration for localhost:1186 ? And what for we used this port ? Can you help me to show me, where i can found the configuration ? Because i try to connect to &quot;ndb_mgm&quot;, when i use &quot;show&quot; it shown &quot;Unable to connect with connect string: nodeid=0, localhost:1186&quot;. I try to look for that port with &quot;netstat&quot;, but i don&#039;t find that port is listen.</description>
		<content:encoded><![CDATA[<p>Hi.. How to know where i can find the configuration for localhost:1186 ? And what for we used this port ? Can you help me to show me, where i can found the configuration ? Because i try to connect to &#8220;ndb_mgm&#8221;, when i use &#8220;show&#8221; it shown &#8220;Unable to connect with connect string: nodeid=0, localhost:1186&#8243;. I try to look for that port with &#8220;netstat&#8221;, but i don&#8217;t find that port is listen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using ClusterJPA (part of MySQL Cluster Connector for Java) – a tutorial @ Andrew Morgan&#8217;s MySQL Cluster Database Blog</title>
		<link>http://www.clusterdb.com/mysql-cluster/creating-a-simple-cluster-on-a-single-linux-host/comment-page-1/#comment-5590</link>
		<dc:creator>Using ClusterJPA (part of MySQL Cluster Connector for Java) – a tutorial @ Andrew Morgan&#8217;s MySQL Cluster Database Blog</dc:creator>
		<pubDate>Wed, 31 Mar 2010 14:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.clusterdb.com/?p=172#comment-5590</guid>
		<description>[...] on ClusterJPA rather than on running MySQL Cluster; if you are new to MySQL Cluster then refer to Running a simple Cluster before trying these [...]</description>
		<content:encoded><![CDATA[<p>[...] on ClusterJPA rather than on running MySQL Cluster; if you are new to MySQL Cluster then refer to Running a simple Cluster before trying these [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using ClusterJ (part of MySQL Cluster Connector for Java) &#8211; a tutorial @ Andrew Morgan&#8217;s MySQL Cluster Database Blog</title>
		<link>http://www.clusterdb.com/mysql-cluster/creating-a-simple-cluster-on-a-single-linux-host/comment-page-1/#comment-5553</link>
		<dc:creator>Using ClusterJ (part of MySQL Cluster Connector for Java) &#8211; a tutorial @ Andrew Morgan&#8217;s MySQL Cluster Database Blog</dc:creator>
		<pubDate>Tue, 30 Mar 2010 12:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.clusterdb.com/?p=172#comment-5553</guid>
		<description>[...] on ClusterJ rather than on running MySQL Cluster; if you are new to MySQL Cluster then refer to running a simple Cluster before trying this [...]</description>
		<content:encoded><![CDATA[<p>[...] on ClusterJ rather than on running MySQL Cluster; if you are new to MySQL Cluster then refer to running a simple Cluster before trying this [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Accessing the same data through LDAP and SQL &#171; PlanetMysql.ru &#8211; информация о СУБД MySQL</title>
		<link>http://www.clusterdb.com/mysql-cluster/creating-a-simple-cluster-on-a-single-linux-host/comment-page-1/#comment-1827</link>
		<dc:creator>Accessing the same data through LDAP and SQL &#171; PlanetMysql.ru &#8211; информация о СУБД MySQL</dc:creator>
		<pubDate>Fri, 09 Oct 2009 16:10:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.clusterdb.com/?p=172#comment-1827</guid>
		<description>[...] installed MySQL Cluster  &#8211; if that isn&#8217;t the case then please first refer to &#8220;Creating a simple Cluster on a single LINUX host&#8221; or &#8220;Deploying MySQL Cluster over multiple [...]</description>
		<content:encoded><![CDATA[<p>[...] installed MySQL Cluster  &#8211; if that isn&#8217;t the case then please first refer to &#8220;Creating a simple Cluster on a single LINUX host&#8221; or &#8220;Deploying MySQL Cluster over multiple [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Accessing the same data through LDAP and SQL @ Andrew Morgan&#8217;s MySQL Cluster Database Blog</title>
		<link>http://www.clusterdb.com/mysql-cluster/creating-a-simple-cluster-on-a-single-linux-host/comment-page-1/#comment-1823</link>
		<dc:creator>Accessing the same data through LDAP and SQL @ Andrew Morgan&#8217;s MySQL Cluster Database Blog</dc:creator>
		<pubDate>Fri, 09 Oct 2009 13:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.clusterdb.com/?p=172#comment-1823</guid>
		<description>[...] installed MySQL Cluster  &#8211; if that isn&#8217;t the case then please first refer to &#8220;Creating a simple Cluster on a single LINUX host&#8221; or &#8220;Deploying MySQL Cluster over multiple [...]</description>
		<content:encoded><![CDATA[<p>[...] installed MySQL Cluster  &#8211; if that isn&#8217;t the case then please first refer to &#8220;Creating a simple Cluster on a single LINUX host&#8221; or &#8220;Deploying MySQL Cluster over multiple [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MySQL Cluster 7.0.7 source released @ Andrew Morgan&#8217;s MySQL Cluster Database Blog</title>
		<link>http://www.clusterdb.com/mysql-cluster/creating-a-simple-cluster-on-a-single-linux-host/comment-page-1/#comment-1007</link>
		<dc:creator>MySQL Cluster 7.0.7 source released @ Andrew Morgan&#8217;s MySQL Cluster Database Blog</dc:creator>
		<pubDate>Wed, 02 Sep 2009 20:05:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.clusterdb.com/?p=172#comment-1007</guid>
		<description>[...] Following this you can configure and use the software as normal (refer to Creating a simple Cluster on a single LINUX host). [...]</description>
		<content:encoded><![CDATA[<p>[...] Following this you can configure and use the software as normal (refer to Creating a simple Cluster on a single LINUX host). [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deploying MySQL Cluster over multiple hosts @ Andrew Morgan&#8217;s MySQL Cluster Database Blog</title>
		<link>http://www.clusterdb.com/mysql-cluster/creating-a-simple-cluster-on-a-single-linux-host/comment-page-1/#comment-89</link>
		<dc:creator>Deploying MySQL Cluster over multiple hosts @ Andrew Morgan&#8217;s MySQL Cluster Database Blog</dc:creator>
		<pubDate>Fri, 10 Jul 2009 19:33:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.clusterdb.com/?p=172#comment-89</guid>
		<description>[...] post builds upon the earlier article (Creating a simple Cluster on a single LINUX host) which explained how to install and run a Cluster where all of the nodes run on the same physical [...]</description>
		<content:encoded><![CDATA[<p>[...] post builds upon the earlier article (Creating a simple Cluster on a single LINUX host) which explained how to install and run a Cluster where all of the nodes run on the same physical [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.clusterdb.com/mysql-cluster/creating-a-simple-cluster-on-a-single-linux-host/comment-page-1/#comment-71</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Sun, 05 Jul 2009 18:00:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.clusterdb.com/?p=172#comment-71</guid>
		<description>Hello Andrew,

Great article - thanks a lot! I am really looking forward to the article you mentioned redarding the distribution amongst multiple servers.

Cheers,
Phil</description>
		<content:encoded><![CDATA[<p>Hello Andrew,</p>
<p>Great article &#8211; thanks a lot! I am really looking forward to the article you mentioned redarding the distribution amongst multiple servers.</p>
<p>Cheers,<br />
Phil</p>
]]></content:encoded>
	</item>
</channel>
</rss>
