# memsql.cnf

The `memsql.cnf` file stores engine variables whose values are loaded when a node starts. This file is a compatible extension of MySQL’s `my.cnf` file.

## Remarks

This file is usually located in a SingleStore node’s base directory, `/var/lib/memsql/<unique_ID>/memsql.cnf`.

To determine `memsql.cnf`’s path on a node:

* If your cluster is managed by the Toolbox, run the [`sdb-admin describe-node`](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/sdb-admin-commands/describe-node.md) command.

If you receive an error that `memsql.cnf` is missing, make sure the permissions are set correctly for this file. By default, the `memsql` user must have access to it.

> **⚠️ Warning**: You should not update the `memsql.cnf` file directly. Instead, use the methods described in the [engine variables overview](https://docs.singlestore.com/db/v9.1/reference/configuration-reference/engine-variables.md) to set engine variables whose values you want to be loaded when a node starts.

***

Modified at: August 6, 2025

Source: [/db/v9.1/reference/configuration-reference/engine-variables/memsql-cnf/](https://docs.singlestore.com/db/v9.1/reference/configuration-reference/engine-variables/memsql-cnf/)

(An index of the documentation is available at /llms.txt)
