Installing Memurai SQL
Requirements
Memurai SQL is a Memurai/Valkey module and can be installed with the module load command. For more information on how to install Memurai see Memurai Installation.
Installation
You can download Memurai SQL from here coming soon, or you can build it from the source code (memurai-sql). Once you have the final binary, we suggest you place it in the same folder where Memurai/Valkey resides.
Loading Memurai SQL into Valkey or Memurai
You have two options to load Memurai SQL into the server.
Manual module load
- On Windows:
C:\>memurai-cli module load C:\somepath\memurai-sql.dll
- On Linux:
$ valkey-cli module load /somepath/libmemurai-sql.so
This module load command, loads and initializes the Memurai SQL module specified by the path argument, in this case the absolute path of the library, including the full filename memurai-sql.dll
or libmemurai-sql.so
.
Automatic installation
The Memurai SQL module can also be loaded at Memurai server startup with the loadmodule
configuration. In the main Memurai configuration file, go to the MODULES section and add loadmodule
followed by the path to the Memurai SQL library file. For example,
- On Windows:
loadmodule C:\somepath\memurai-sql.dll
- On Linux:
loadmodule /somepath/libmemurai-sql.so
For more information on configuring Memurai, see Memurai Configuration.