diff --git a/README.md b/README.md index fcbe856f..6d166d8c 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ A detailed getting started guide can be found at [umami.is/docs](https://umami.i ### Requirements - A server with Node.js version 18.18 or newer -- A database. Umami supports [MariaDB](https://www.mariadb.org/) (minimum v10.5), [MySQL](https://www.mysql.com/) (minimum v8.0) and [PostgreSQL](https://www.postgresql.org/) (minimum v12.14) databases. +- A database. Umami supports [PostgreSQL](https://www.postgresql.org/) (minimum v12.14) databases. ### Get the Source Code and Install Packages @@ -58,7 +58,6 @@ The connection URL format: ```bash postgresql://username:mypassword@localhost:5432/mydb -mysql://username:mypassword@localhost:3306/mydb ``` ### Build the Application @@ -93,12 +92,6 @@ Alternatively, to pull just the Umami Docker image with PostgreSQL support: docker pull docker.umami.is/umami-software/umami:postgresql-latest ``` -Or with MySQL support: - -```bash -docker pull docker.umami.is/umami-software/umami:mysql-latest -``` - --- ## 🔄 Getting Updates diff --git a/src/lib/db.ts b/src/lib/db.ts index 0ffedd0d..72a18c06 100644 --- a/src/lib/db.ts +++ b/src/lib/db.ts @@ -1,6 +1,5 @@ export const PRISMA = 'prisma'; export const POSTGRESQL = 'postgresql'; -export const MYSQL = 'mysql'; export const CLICKHOUSE = 'clickhouse'; export const KAFKA = 'kafka'; export const KAFKA_PRODUCER = 'kafka-producer'; @@ -31,7 +30,7 @@ export async function runQuery(queries: any) { const db = getDatabaseType(); - if (db === POSTGRESQL || db === MYSQL) { + if (db === POSTGRESQL) { return queries[PRISMA](); } }