MariaDB / mariadb-docker

Docker Official Image packaging for MariaDB
https://mariadb.org
GNU General Public License v2.0
755 stars 436 forks source link

Latest image doesn't have symbolic link from /usr/bin/mysql to /usr/bin/mariadb #545

Closed Simpler1 closed 8 months ago

Simpler1 commented 8 months ago

In the recent past, the following symbolic link was already created in the mariadb image:

ln -s /usr/bin/mariadb /usr/bin/mysql

This is a regression and causes other images that are built on top of mariadb to fail.

Please consider add thing back to the base image.

grooverdan commented 8 months ago

see #514 and https://mariadb.org/mariadb-server-docker-official-images-healthcheck-without-mysqladmin/

No-one moves off compatibility symlinks unless removed. Most cases so far have been improper healthcheck tests as the blog indicates. While there are some valid uses, there's compatible functionality that has existed for many years.

Sorry, I still haven't seen a major case for reverting this symlink. We're not MySQL, and legacy compatibility implications need to be severed at some point.

Sorry for your difficulties.

Simpler1 commented 8 months ago

That makes sense. I thought it might have been an oversight. I can work around this now that I know that it is intended.

Thanks