Planet MySQL Planet MySQL: Meta Deutsch Español Français Italiano 日本語 Русский Português 中文
Showing entries 1 to 5

Displaying posts with tag: build mysql on windows (reset)

Building MariaDB 5.3 on Windows
+2 Vote Up -0Vote Down

I just wanted to share my steps for building MariaDB 5.3 on Windows. (Note, this is not much different than the instructions Wlad posted here).

But, things are not always so smooth, and of course I ran into a couple small issues, so I wanted to share my outputs plus those issues and their solutions (once again many thanks go to Wlad!) for those out there who might encounter the same.

Here are the steps to build:

  • Download MariaDB 5.3 and extracted to C:\mariadb-5.3
  • cd C:\mariadb-5.3
  • mkdir bld
  • cd bld
  • cmake .. -G "Visual Studio 9 2008"
  • cmake --build . --config relwithdebinfo --target package

    * By making a sub-dir named ‘bld’ and cd’ing into it, you’ll keep

  •   [Read more...]
    Maintaining (and Building) your MySQL Source Tree on Windows
    +1 Vote Up -0Vote Down

    I just have one last post to round out my series on building MySQL and MariaDB on Windows.

    Before, I showed how to obtain the latest source tree and build it. In this one, I simply want to show how easy it is to continue off of that.

    So it’s been a week or so, and now you want the latest fixes:

  • cd C:\mysql-5.5\mysql-5.5
  • bzr pull
  • cmake . -DBUILD_CONFIG=mysql_release
  • VS: File -> Open -> Solution -> MySql.sln
  • VS: Build -> Build Solution
  • VS: Right-click “PACKAGE” -> Build (in “Solution Explorer” View)

    Simple as that.

    Your “no-install” package will be located at:


    Full Outputs for

  •   [Read more...]
    Building MariaDB 5.1 on Windows
    +2 Vote Up -0Vote Down

    Recently, I found myself needing MariaDB 5.1.60 for Windows for some testing purposes. Therefore, I needed to build it from source. I ended up using what I’d call a “blend” of the commands listed in this “how-to” and the readme file INSTALL-WIN-SOURCE, so I thought I’d post those steps.

  • Download 5.1.60 MariaDB source from here.
  • cd C:\mariadb-5.1
  • win\configure.js
  • cmake .
  • VS: File -> Open -> Solution -> MySql.sln
  • VS: Build -> Build Solution
  • VS: Right-click “PACKAGE” -> Build (in “Solution Explorer” View)

    That’s it.

    Let’s fire it up:

    MariaDB> select version();
    | version()            |
  •   [Read more...]
    MySQL 5.5 Windows Build Appendix : Full Outputs and Common Errors from Building MySQL 5.5 on Windows
    +2 Vote Up -0Vote Down

    The other day, I posted a “how-to” article for building MySQL 5.5 on Windows from the source code tree.

    In an attempt to keep the post as brief as possible, I omitted many outputs, as well as a number of common bugs/problems one could encounter, and so I just wanted to follow-up with some of that in this “appendix” of sorts.

    This way, folks who run into any issues might find solutions to those problems here.

    I’ll start with the outputs first, followed by the common problems.

    Outputs (When works as expected):


    Output from Obtaining Source Code:

    C:\Users\Chris>cd C:\
    C:\>bzr init-repo --trees mysql-5.5
    Shared repository with trees (format: 2a)
      shared repository: mysql-5.5
    C:\>cd mysql-5.5
    C:\mysql-5.5>bzr branch
      [Read more...]
    How to Build MySQL 5.5 from Source Code on Windows
    +1 Vote Up -0Vote Down

    Not counting obtaining the source code, and once you have the prerequisites satisfied, [Windows] users can build from source code in 5 easy steps.

    Prerequisites – Install & ensure they are in the $PATH:

  • CMake Download
  • C++ compiler Free Download
  • Bison Download (ensure m4.exe is also included, which it should be)

    Optional (but most likely you’ll want):

  • Perl Strawberry Perl is a great option.
  • Bazaar source tree

    Tip: Install these in locations where spaces are not in the path. Specifically, watch for the Bison/m4 as there is a known bug with regards to that.


    Now that that’s out of the way, we can begin. You just need to decide if you want to build from

  •   [Read more...]
    Showing entries 1 to 5

    Planet MySQL © 1995, 2014, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

    Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.