Before configuring the Memcached driver, please make sure that the Memcached Server is installed and running. You can read more about this in the documentation.
The complete memcached driver configuration:
version: "3" kv: # User defined name of the storage. memcached: # Required section. # Should be "memcached" for the memcached driver. driver: memcached config: # Optional section. # Default: "127.0.0.1:11211" addr: "127.0.0.1:11211"
Below is a more detailed description of each of the memcached-specific options:
addr: String of memcached connection in format "
In the case that there are several memcached servers, then the list of connections can be listed in an array format, for example:
version: "3" kv: memcached: driver: memcached config: addr: [ "127.0.0.1:11211", "127.0.0.1:11222" ]