2.1. Windows

This section describes how to install Mroonga on Windows. You can install Mroogna by extracting a zip package.

Mroonga binary for Windows is provided with MariaDB binary because some changes are needed for building Mroonga for Windows.

We distribute both 32-bit and 64-bit packages but we strongly recommend a 64-bit package for server. You should use a 32-bit package just only for tests or development. You will encounter an out of memory error with a 32-bit package even if you just process medium size data.

2.1.1. Installer


The following MSI files don’t work yet. Please use zip files below or help us to creating MSI files that work well.

Download MSI file and execute it. You need to choose a MSI for your environment.

Choose win32 version for 32-bit environment, winx64 version for 64-bit environment:

2.1.2. Zip

Download zip file and extract it. You need to choose a zip for your environment:

Zip packages are pre-configured for easy to use, so no need to execute INSTALL PLUGIN and CREATE FUNCTION.

Just start mysqld by following command:

> mysqld.exe --defaults-file=.\MY-PREFERRED-INI.ini --console

Each zip package contains ini files (my-small.ini, my-medium.ini, my-large.ini and so on), choose preferred ini file which meets on your demand.

Next connect to MariaDB by following command:

> mysql.exe
MariaDB [(none)]> SHOW ENGINES;
| Engine             | Support | Comment                                                    | Transactions | XA   | Savepoints |
| CSV                | YES     | CSV storage engine                                         | NO           | NO   | NO         |
| PERFORMANCE_SCHEMA | YES     | Performance Schema                                         | NO           | NO   | NO         |
| MEMORY             | YES     | Hash based, stored in memory, useful for temporary tables  | NO           | NO   | NO         |
| MyISAM             | YES     | MyISAM storage engine                                      | NO           | NO   | NO         |
| MRG_MyISAM         | YES     | Collection of identical MyISAM tables                      | NO           | NO   | NO         |
| InnoDB             | DEFAULT | Supports transactions, row-level locking, and foreign keys | YES          | YES  | YES        |
| Mroonga            | YES     | CJK-ready fulltext search, column store                    | NO           | NO   | NO         |
| Aria               | YES     | Crash-safe tables with MyISAM heritage                     | NO           | NO   | NO         |
8 rows in set (0.00 sec)

2.1.3. Build from source with MariaDB

You need to use Mroonga bundled MariaDB source provided by the Mroonga project.

You can find it in https://packages.groonga.org/source/mroonga/. Mroonga bundled MariaDB source has mariadb-${MARIADB_VERSION}-with-mroonga-${MROONGA_VERSION}.zip file name.

You can build the source code with the standard MariaDB build process.

You need to register Mroonga after building MariaDB. Use SQL at ${MARIADB_BUILD_DIR}\storage\mroonga\data\install.sql to register Mroonga.