]> git.ipfire.org Git - thirdparty/patchwork.git/commit
docker: Use mariadb-client, not mysql-client
authorStephen Finucane <stephen@that.guru>
Wed, 23 Feb 2022 12:47:33 +0000 (12:47 +0000)
committerStephen Finucane <stephen@that.guru>
Wed, 23 Feb 2022 13:43:59 +0000 (13:43 +0000)
commitaa379a44bc2d30cb3629f0c6f379b337cede67eb
tree7cdf29159848a69553d14076178c4180e59009c0
parent3ab142127a9ab8de941d8cf11fb4a26623b0f747
docker: Use mariadb-client, not mysql-client

As noted in [1], use of mysql-client with mariadb-server can result in
the following errors:

  mysqldump: Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')
  FROM information_schema.COLUMN_STATISTICS
  WHERE SCHEMA_NAME =3D 'patchwork' AND TABLE_NAME =3D 'auth_group';':
  Unknown table 'COLUMN_STATISTICS' in information_schema (1109)

Use the correct client for the backend.

[1] https://stackoverflow.com/a/67563944/613428

Signed-off-by: Stephen Finucane <stephen@that.guru>
tools/docker/Dockerfile