# Onlyoffice-mysql-server

Onlyoffice-mysql-server is a self-hosted databases app. MySQL 5.7 database container purpose-built as the external database backend for ONLYOFFICE Document Server. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/1989/onlyoffice-mysql-server

## Description

MySQL 5.7 database container purpose-built as the external database backend for ONLYOFFICE Document Server. Provides a pre-configured MySQL instance for self-hosters deploying the ONLYOFFICE Community Server, removing the need to set up a separate database manually.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

62/100 (Good), based on 5 of 5 factors.
- Maintained: 99 (last commit 37 days ago)
- Popular: 49 (279 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 10 (8 GB minimum RAM)
- Security check: 71 (no serious findings, 4 minor, CI, tests)

## Links

- Docker Hub: https://hub.docker.com/repository/docker/xternet/onlyoffice-mysql-5.7
- GitHub: https://github.com/ONLYOFFICE/server
- Official website: https://www.onlyoffice.com
- Unraid: https://ca.unraid.net/apps/onlyoffice-mysql-server-1prk9pp1xd3bnd?q=onlyoffice-mysql-server

## Common questions

### Why can DocSpace Docker containers fail after a successful build?

The application containers may be unable to connect to MySQL, which can cause boot loops and core dumps. Missing assemblies may also appear.

### What MySQL access details should be checked in an OnlyOffice Docker deployment?

Check that the onlyoffice_user exists and has access, confirm MySQL connectivity from inside the onlyoffice-api container, and set MYSQL_HOST in /app/onlyoffice/.env to the MySQL service host.

### What startup signs suggest the OnlyOffice API cannot reach the database?

The API can fail before the wizard loads even when the MySQL service is running. Logs may show server shutdown and an incomplete response, and MySQL health checks can fail inside the onlyoffice-api service.

### Does the provided source confirm whether RabbitMQ is required or whether databases other than PostgreSQL and MySQL can be used?

No, the provided source only states that those questions are asked in the community thread. It does not give a confirmed answer in the supplied text.

## Alternatives

- Apache Cassandra
- CockroachDB: CockroachDB is a distributed SQL database for developers and operators of transactional applications that need horizontal scaling and resil…
- CouchDB: CouchDB is a document-oriented NoSQL database with a RESTful HTTP/JSON interface for storing, querying, and synchronising JSON documents ac…
- FerretDB: FerretDB is an open-source MongoDB compatibility proxy for self-hosted stacks.
- Microsoft SQL Server: SQL Server delivers on Microsoft’s Data Platform vision by helping your organization manage your data by enabling you to store data from st…
- MongoDB: MongoDB is an open-source, document-oriented NoSQL database that stores flexible, JSON-like documents, helping developers and self-hosters…
- Oracle Database: Oracle Database delivers industry leading performance, scalability, security and reliability on a choice of clustered or single-servers run…
- PostgreSQL: PostgreSQL (Postgres) is an open source object-relational database known for reliability and data integrity.
- SAP HANA: SAP HANA is a completely re-imagined platform for real-time business.
- SQLite: SQLite is a lightweight, embedded relational database engine that stores an entire database in a single file on your device.
- rethinkdb: RethinkDB is an open-source, distributed NoSQL database built for realtime web applications.

---
Source: Our Local Host (https://ourlocalhost.com/app/1989/onlyoffice-mysql-server), the self-hosted and open-source app directory.
