Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile definition currently installs MariaDB client unintentionally #929

Open
orware opened this issue Oct 18, 2024 · 0 comments
Open

Comments

@orware
Copy link
Contributor

orware commented Oct 18, 2024

Recently added lines

Quick summary:

A user had a functioning GitLab pipeline job to make deploy requests that broke several days ago that seemed to correspond with updating to the latest Docker image, currently at v0.213.0, that we have available from:
https://hub.docker.com/r/planetscale/pscale

The error they received when attempting to use pscale shell was:

Error: could not parse server version from: mysql Ver 15.1 Distrib 10.11.8-MariaDB, for Linux (x86_64) using readline 5.1

Further details:

Since Docker is being utilized I believe the error above may be directly originating from the Docker image that we are providing for users which is based off of the golang:1.23.2 image.

That appears to be using alpine under the hood and according to this page:
https://wiki.alpinelinux.org/wiki/MySQL

The Alpine Linux repositories no longer include the actual MySQL binaries, installing the mysql-* packages will instead install MariaDB.

So the mysql-client installation line we include in our Docker file may actually be installing the MariaDB client instead and results in the error message above now with the new version checking lines added in v0.211.0 recently.


I was able to run a copy of the Docker image locally this morning and attempted a pscale shell command which confirmed the same error message the user received.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant