MINDSDB_USERNAME
and MINDSDB_PASSWORD
environment variables.
~/.local/share/mindsdb/var
~/Library/Application Support/mindsdb/var
C:\Documents and Settings\<User>\Application Data\Local Settings\<AppAuthor>\mindsdb\var
MINDSDB_STORAGE_DIR
location, MindsDB stores users’ data, models and uploaded data files, the static assets for the frontend application and the
sqlite.db
file.
You can change the default storage location using MINDSDB_STORAGE_DIR
variable.
sqlite
database by default to store the required configuration as models, projects, files metadata etc.
The full list of the above schemas can be found here. You can change the
default storage option and use different database by adding the new connection string using MINDSDB_DB_CON
variable.
MINDSDB_APIS
environment variable. The available APIs are:
http
(port 47334) - HTTP/REST APImysql
(port 47335) - MySQL APImcp
(port 47337) - Model Context Protocol APIa2a
(port 47338) - Aget2Agent Protocol API-p
flag.
To use the A2A API when running MindsDB at a remote host, use the MINDSDB_A2A_HOST
environemnt variable to specify the host. Alternatively, you can set it up in the configuration file.
waitress
, which is the default server or flask
.
INFO
level is used by default.
mindsdb
where all the models and other objects are stored. You can change the default project name by setting the MINDSDB_DEFAULT_PROJECT
environment variable.
If this environment variable is set or modified after MindsDB has started, the default project will be renamed accordingly upon restart. To start using the new default project, a USE
statement will also need to be executed.
MINDSDB_MCP_ACCESS_TOKEN
environment variable to enable user authentication for accessing MindsDB’s MCP Server.
Learn more here.