From 223fb6e2232332d58df4643985b89d20d8187dc3 Mon Sep 17 00:00:00 2001 From: Mike Lloyd Date: Sun, 11 Dec 2016 12:25:07 -0800 Subject: [PATCH] website: added note about MySQL permissions in server-config This change specifies the required permissions when using a MySQL or MariaDB index Change-Id: Ib8852234946037da8f902bdaf4a6346f0f23ddec --- doc/server-config.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/server-config.md b/doc/server-config.md index c4b474ae7..1e625794b 100644 --- a/doc/server-config.md +++ b/doc/server-config.md @@ -107,6 +107,13 @@ Unless `runIndex` is set to `false`, exactly one of these must be set: Additionally, mongo, mysql, and postgres require the `dbname` value set. Initialize your database with [camtool dbinit](/cmd/camtool/). +When using [MariaDB](https://downloads.mariadb.org/) +or [MySQL](https://dev.mysql.com/downloads/), the user will need to be able to +create a schema in addition to the default schema. You will need `grant create, +insert, update, delete, alter, show databases on *.*` permissions for your +database user. See [dbinit.go](/cmd/camtool/dbinit.go) +and [dbschema.go](/pkg/sorted/mysql/dbschema.go) for more details. + There's also an in-memory index type, but only in the low-level config, as used by `devcam server`.