# Starting & Stopping

- [Starting and Stopping Overview](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/starting-and-stopping-mariadb-automatically.md): Complete Starting and Stopping Overview guide for MariaDB. Complete reference documentation for implementation, configuration, and usage for production use.
- [launchd (macOS)](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/launchd.md): Instructions for configuring MariaDB to start automatically on macOS using a launchd plist file in /Library/LaunchDaemons.
- [systemd (Linux)](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/systemd.md): Complete MariaDB systemd reference: mariadb.service/mariadb@.service units, systemctl commands, TimeoutStartSec/EXTEND\_TIMEOUT\_USEC, and drop-in configs.
- [sysVinit](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/sysvinit.md): Describes how to manage MariaDB using SysVinit scripts (mysql.server), common on older Linux distributions, using commands like \`service\` and \`chkconfig\`.
- [mariadbd-safe](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/mariadbd-safe.md): Details the \`mariadbd-safe\` wrapper script, which adds safety features like auto-restart upon crash and error logging to syslog.
- [mariadbd-multi](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/mariadbd-multi.md): Explains how to use \`mariadbd-multi\` to manage multiple MariaDB server processes on a single host using GNR groups in the configuration file.
- [mariadbd Options](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/mariadbd-options.md): A reference list of command-line options available for the \`mariadbd\` server binary, covering configuration, replication, and service installation.
- [mariadbd](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/mariadbd.md): Describes the \`mariadbd\` binary (formerly \`mysqld\`), which is the core database server executable.
- [mysql.server](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/mysql-server.md): Documentation for the \`mysql.server\` script, a SysVinit-style wrapper used to start and stop \`mariadbd-safe\`.
- [Running MariaDB From the Build Directory](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/running-mariadb-from-the-build-directory.md): Instructions for developers on how to run MariaDB directly from the source build directory without installing it to system paths.
- [Running Multiple MariaDB Server Processes](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/running-multiple-mariadb-server-processes.md): A guide on configuring and running multiple independent MariaDB instances on the same machine by isolating data directories, ports, and sockets.
- [Specifying Permissions for Schema (Data) Directories and Tables](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/specifying-permissions-for-schema-data-directories-and-tables.md): Explains default file permissions for data directories and how to customize them using \`UMASK\` and \`UMASK\_DIR\` environment variables.
- [Switching Between Different Installed MariaDB Versions](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/switching-between-different-installed-mariadb-versions.md): Techniques for managing parallel installations of different MariaDB versions, typically using symlinks and separate data directories for testing.
- [What to Do if MariaDB Doesn't Start](https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb/what-to-do-if-mariadb-doesnt-start.md): Complete What to Do if MariaDB Doesn't Start guide for MariaDB. Complete reference documentation for implementation, configuration, and usage.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/server/server-management/starting-and-stopping-mariadb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
