[GH-ISSUE #1513] MySQL not enabled on Alpine Images #986

Closed
opened 2026-03-03 02:05:18 +03:00 by kerem · 1 comment
Owner

Originally created by @mplx on GitHub (Mar 19, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1513

Subject of the issue

MySQL not enabled on alpine images; wiki docs suggest it works with alpine images ("...based upon MariaDB client libraries since that is what both Debian and Alpine provide...")

Deployment environment

docker images bitwardenrs/server:1.19.0-alpine and bitwardenrs/server:1.18.0-alpine

  • MySQL/MariaDB version: 10.3.27-MariaDB-0+deb10u1

  • Other relevant details: same config works with debian images bitwardenrs/server:1.19.0 and bitwardenrs/server:1.18.0

Steps to reproduce

start docker container with alpine images bitwardenrs/server:1.19.0-alpine or bitwardenrs/server:1.18.0-alpine and try to connect to mysql

Expected behaviour

connects to mysql

Actual behaviour

bitwarden_test_bitwarden@docker    | Error loading config:
bitwarden_test_bitwarden@docker    | 	`DATABASE_URL` is a MySQL URL, but the 'mysql' feature is not enabled
Originally created by @mplx on GitHub (Mar 19, 2021). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1513 ### Subject of the issue MySQL not enabled on alpine images; [wiki docs](https://github.com/dani-garcia/bitwarden_rs/wiki/Using-the-MariaDB-%28MySQL%29-Backend) suggest it works with alpine images ("...based upon MariaDB client libraries since that is what both Debian and Alpine provide...") ### Deployment environment docker images `bitwardenrs/server:1.19.0-alpine` and `bitwardenrs/server:1.18.0-alpine` * MySQL/MariaDB version: 10.3.27-MariaDB-0+deb10u1 * Other relevant details: same config works with debian images `bitwardenrs/server:1.19.0` and `bitwardenrs/server:1.18.0` ### Steps to reproduce start docker container with alpine images `bitwardenrs/server:1.19.0-alpine` or `bitwardenrs/server:1.18.0-alpine` and try to connect to mysql ### Expected behaviour connects to mysql ### Actual behaviour ``` bitwarden_test_bitwarden@docker | Error loading config: bitwarden_test_bitwarden@docker | `DATABASE_URL` is a MySQL URL, but the 'mysql' feature is not enabled ```
kerem closed this issue 2026-03-03 02:05:19 +03:00
Author
Owner

@BlackDex commented on GitHub (Mar 19, 2021):

Resolved.
Changed wiki to be accurate.

<!-- gh-comment-id:802698928 --> @BlackDex commented on GitHub (Mar 19, 2021): Resolved. Changed wiki to be accurate.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#986
No description provided.