Windows

Although monetdbd is only available in Unix systems, it is still possible to use MonetDB on Windows.

On Windows systems, the first step is to initialize a MonetDB server by simply the program:

Start -> Programs -> MonetDB -> Start server

Subsequently you can start the textual interface mclient :

Start -> Programs -> MonetDB -> SQL client

The commands entered there are identical to those found on other platforms.

To stop the server, you can simply close the MonetDB SQL Server window.

Note the server by default only accepts connections originating from the localhost.

If you need other machines to access your database, change the configuration file by setting mapi_open=yes.

Changing database location

If you need (or want) to change the location of the database then editing of the monetdb script is required.

Change the mclient.bat and M5server.bat files in:

C:\Program Files\MonetDB\MonetDB5

In the M5server.bat file you would need to change the setting of the MONETDBFARM variable, and in mclient.bat you would need to add a -d option to the call of mclient.exe.

After upgrading MonetDB software, such changed files will be overwritten.