Getting started
Requirements, the programs and every option they take, starting and stopping, connecting with clients and applications, and where the data lives.
- Requirements: What you need to run Raft DB: operating systems, memory, disk, ports and optional tools.
- Installing Raft DB: Install Raft DB with one installer for Windows (a setup wizard) and one for Linux. It adds the server and the MySQL, SQL Server, PostgreSQL and graph programs on their default ports or the next free ones, and how to upgrade, remove and find everything afterwards.
- The programs: The three programs of Raft DB (raftdb-server, raftdb-mysql, raftdb-watch), their command lines, exit codes and how the settings sources are combined.
- raftdb-server settings: Every setting of raftdb-server with its command-line, environment and file spelling, its default and its rules, and the three profiles.
- raftdb-mysql settings: Every setting of the MySQL and MariaDB front-end program, with defaults, the one-process and two-process modes, and an example file.
- Starting and stopping: How to start a single server, the SQL front-end in one or two processes, and a replica, and how to stop them without losing data.
- Connecting with the mysql and mariadb command-line clients: The commands that connect the stock mysql and mariadb clients to raftdb-mysql, how TLS and authentication plugins behave, and the first statements to try.
- Connecting from an application: The two ways an application reaches Raft DB (a stock MySQL or MariaDB driver, or a Raft DB connector) and what was verified with which driver.
- Where data lives: The data directory of a server, what each file and folder in it is, and where the SQL front-end keeps its own definitions.
- First steps checklist: A short checklist to take a new Raft DB installation from the unpacked download to a safe, working single server.