-
Notifications
You must be signed in to change notification settings - Fork 438
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
latest tag 1:11.0.2+maria~ubu2204 - mysql command is gone #512
Comments
Looks on purpose; see the release notes for 11.0; https://mariadb.com/kb/en/mariadb-11-0-1-release-notes/#docker-official-images |
Yes its surprising though. I have been forced to use previous version. |
So I need to rewrite a lot of things. But whyyy ? Lol |
Don't know the details, but I see there's links to some tickets (my hunch would be that they may no longer be fully compatible with the Last one mentions;
|
Use `mariadb-admin` instead. See MariaDB/mariadb-docker#512
To clarify, 10.0 is long EOL. The latest LTS release is 10.11: https://mariadb.org/about/#maintenance-policy |
Ah, you're right; thanks for correcting; I'm not too familiar with the versioning scheme used |
For everyone using The workaround is:
This unfortunately is a little noisy without an empty root password. I started to work on a solution #508 but stalled. I'm considering a random root password for |
@grooverdan (haven't looked closely as my comments were basically just a drive-by 🙈) were you planning to update your #508 PR to update https://github.com/MariaDB/mariadb-docker/blob/master/healthcheck.sh ? |
That managed to find the release notes and the server JIRA entries 😄 .
Updated now. drive-by reviews welcome too 😸 . |
According to MariaDB/mariadb-docker#512 (comment) the mysqladmin command has been removed from the image. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
According to MariaDB/mariadb-docker#512 (comment) the mysqladmin command has been removed from the image. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
According to MariaDB/mariadb-docker#512 (comment) the mysqladmin command has been removed from the image. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
According to MariaDB/mariadb-docker#512 (comment) the mysqladmin command has been removed from the image. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
According to MariaDB/mariadb-docker#512 (comment) the mysqladmin command has been removed from the image. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
According to MariaDB/mariadb-docker#512 (comment) the mysqladmin command has been removed from the image. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Locking mariaDB version to LTS. See MariaDB/mariadb-docker#512
So healthcheck updates from #508 have been released. There is now a As such you'll need just the following for a healthcheck without being dependent on any environment variables
Even the I haven't see a major case for re-adding mysql commands, we where going to do it eventually, maybe a depreciation would have been nicer, but it seems to be done and the major use case of healthchecks has been improved. Sorry for the interruption and I hope you're happy with the improved healthcheck. |
Thank you @grooverdan this was really needed! For Docker users, now you can do the following: version: '3.8'
services:
db:
image: mariadb:10.6
volumes:
- db_data:/var/lib/mysql
environment:
MARIADB_ROOT_PASSWORD: foo
ports:
- '3306:3306'
healthcheck:
test: ['CMD', '/usr/local/bin/healthcheck.sh', '--innodb_initialized']
start_period: 5s
timeout: 5s
interval: 5s
retries: 5
volumes:
db_data:
|
@gremo tried it but access denied for root. |
@stanthewizzard the new |
ok I have to add it manually. With a password ? |
You can, like the script, |
cool I'll do that |
just to help other create user in DB:
then (as there is a jonction for DB in docker compose and for ex:
vi
then NO ERROR
|
Thanks to MariaDB/mariadb-docker#512 (comment) for creating the actual healthcheck user
Hello
mysql command is not working in latest iteration of mariadb.
Is this on purpose ?
Thanks
The text was updated successfully, but these errors were encountered: