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(); …[Read more]