{"id":1183,"date":"2008-08-27T18:03:49","date_gmt":"2008-08-27T08:03:49","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/?p=1183"},"modified":"2009-02-21T13:37:15","modified_gmt":"2009-02-21T03:37:15","slug":"building-mysql-cluster-on-windows-for-windows","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2008\/08\/27\/building-mysql-cluster-on-windows-for-windows\/","title":{"rendered":"Building MySQL Cluster on Windows (for Windows)"},"content":{"rendered":"<p>You will need:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.cmake.org\">CMake<\/a> (at least 2.4.7)<\/li>\n<li><a href=\"http:\/\/www.bazaar-vcs.org\">Bazaar<\/a> (the newer the better &#8211; 1.6 was just released &#8211; at least use that)<\/li>\n<li><a href=\"http:\/\/gnuwin32.sourceforge.net\/packages\/bison.htm\">Gnu Bison<\/a><\/li>\n<li>Visual Studio (Express works, but I&#8217;m talking about 2005 here)<\/li>\n<li>&#8230; and all this installed on a Microsoft Windows machine.<\/li>\n<li>&#8230; and to hate yourself, you are going to be using Windows after all.<\/li>\n<\/ul>\n<p>Then, get and build it:<\/p>\n<ol>\n<li>Get the source:<br \/>\nbzr branch lp:~mysql\/mysql-server\/mysql-5.1-telco-6.4-win<\/li>\n<li>Run CMake. the CMake GUI can now be used to select compile options! You&#8217;ll have to set the path &#8220;where is the source code&#8221; to where you put the source code in step 1.<\/li>\n<li>Hit &#8220;Configure&#8221; in CMake<\/li>\n<li>Select the target (i.e. the version of Visual Studio you&#8217;re going to use)<\/li>\n<li>Select the build options. HINT: WITH_NDBCLUSTER_STORAGE_ENGINE may be a useful one to enable<\/li>\n<li>Hit Configure again<\/li>\n<li>Hit Ok.<\/li>\n<li>CMAKE now generates the Visual Studio project. Use this time to drink some good scotch.<\/li>\n<li>Open Mysql.sln (which should launch Visual Studio)<\/li>\n<li>Go Build -&gt; Build Solution (or hit F7)<\/li>\n<\/ol>\n<p>Now you can go and have much whisky as this will take a few minutes. You should now have a set of built binaries for MySQL Cluster on Windows. Scary.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You will need: CMake (at least 2.4.7) Bazaar (the newer the better &#8211; 1.6 was just released &#8211; at least use that) Gnu Bison Visual Studio (Express works, but I&#8217;m talking about 2005 here) &#8230; and all this installed on &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2008\/08\/27\/building-mysql-cluster-on-windows-for-windows\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[14],"tags":[628,54,36,65],"class_list":["post-1183","post","type-post","status-publish","format-standard","hentry","category-mysql","tag-mysql","tag-ndb","tag-win32","tag-windows"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-j5","jetpack-related-posts":[{"id":894,"url":"https:\/\/www.flamingspork.com\/blog\/2007\/09\/20\/ndb_mgmd-on-win32-an-alpha\/","url_meta":{"origin":1183,"position":0},"title":"ndb_mgmd on Win32 (an Alpha)","author":"Stewart Smith","date":"2007-09-20","format":false,"excerpt":"So, here is an Alpha quality port of the MySQL Cluster management server to Win32 based on the current MySQL 5.0 tree. This isn't going into 5.0, so don't expect to ever have that. This isn't going into 5.1 either, so don't expect it there. It'll go into some future\u2026","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3901,"url":"https:\/\/www.flamingspork.com\/blog\/2014\/11\/12\/preliminary-mysql-cluster-benchmark-results-on-power8\/","url_meta":{"origin":1183,"position":1},"title":"Preliminary MySQL Cluster benchmark results on POWER8","author":"Stewart Smith","date":"2014-11-12","format":false,"excerpt":"Yesterday, I got the basics going for MySQL Cluster on POWER. Today, I finished up a couple more patches to improve performance and ran some benchmarks. This is on a 3.7Ghz POWER8 machine with non-balanced memory (only 2 of the 4 NUMA nodes have memory, so we have less total\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1033,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/03\/12\/twitter-updates-for-2008-03-12\/","url_meta":{"origin":1183,"position":2},"title":"Twitter Updates for 2008-03-12","author":"Stewart Smith","date":"2008-03-12","format":false,"excerpt":"sane and safe portability code is *hard* # i do not like Visual Studio. It's just too buggy. # VisualStudio 2008 just crashed for about the 10th time today. # Evolution is more stable. # there's a reason we still use Emacs... it works. # i want to kill IntelliSense.\u2026","rel":"","context":"In &quot;Twitter&quot;","block_context":{"text":"Twitter","link":"https:\/\/www.flamingspork.com\/blog\/category\/from-twitter\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3261,"url":"https:\/\/www.flamingspork.com\/blog\/2013\/03\/14\/so-what-about-the-diffstat-of-mariadb-compared-to-mysql\/","url_meta":{"origin":1183,"position":3},"title":"So what about the diffstat of MariaDB compared to MySQL?","author":"Stewart Smith","date":"2013-03-14","format":false,"excerpt":"So, I've looked at what sloccount says on the differences between Oracle MySQL over versions of itself and the various MySQL branches around. What I haven't looked at is the diffstat. Firstly, let's look at MariaDB. I'm going to look at MariaDB 5.5.29 as compared to MySQL 5.5.29, both checked\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3699,"url":"https:\/\/www.flamingspork.com\/blog\/2014\/03\/13\/ghosts-of-mysql-past-part-9-best-team-name-ever\/","url_meta":{"origin":1183,"position":4},"title":"Ghosts of MySQL Past, Part 9: BEST. Team. Name. EVER.","author":"Stewart Smith","date":"2014-03-13","format":false,"excerpt":"(This is part 9 in a series, part 8 is here - because reverse chronological order totally makes sense here) So, back around 2007, somebody noticed that an awful lot of the downloads of MySQL and associated utilities from mysql.com were for Windows. Of course, it's then immediately pointed out\u2026","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1847,"url":"https:\/\/www.flamingspork.com\/blog\/2010\/03\/15\/thoughts-on-thoughts-on-drizzle\/","url_meta":{"origin":1183,"position":5},"title":"Thoughts on Thoughts on Drizzle :)","author":"Stewart Smith","date":"2010-03-15","format":false,"excerpt":"Mark has some good thoughts on drizzle. I think they're all valid... and have some extra thoughts too: \"I have problems to solve today\". This is (of course) an active concern in my brain... If we don't have something out that solves some set of problems with reasonable stability and\u2026","rel":"","context":"In &quot;drizzle&quot;","block_context":{"text":"drizzle","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/drizzle-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=1183"}],"version-history":[{"count":4,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1183\/revisions"}],"predecessor-version":[{"id":1185,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1183\/revisions\/1185"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=1183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=1183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=1183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}