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

mysql: Deprecated program name. It will be removed in a future release, use '/opt/bitnami/mariadb/bin/mariadb' instead #64

Open
ericmulder1980 opened this issue Sep 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ericmulder1980
Copy link

Although this is a warning and not a but (yet) it is very verbose while performing database resets on my local development environment.

  • I am using Lando version v3.21.2
  • I have project that uses the drupal10 recipe
  • I updated the default mariadb version to 11.2
  • I have a self defined tooling command which (amongst other things) import a seed database.
  • This tooling command uses the /helpers/sql-import.sh script to import a database
  • The sql-import.sh script throws the following warnings:

mysql: Deprecated program name. It will be removed in a future release, use '/opt/bitnami/mariadb/bin/mariadb' instead

Suggestion:

Replace the usage of 'mysql' in the three commands in this script with 'mariadb' which will be used in feature releases.

Line 85
CMD="mysql -h $HOST -P $PORT -u $USER ${LANDO_EXTRA_DB_IMPORT_ARGS}"

Line 112
SQLSTART="mysql -h $HOST -P $PORT -u $USER ${LANDO_EXTRA_DB_IMPORT_ARGS} $DATABASE"

Line 156
CMD="$CMD | mysql -h $HOST -P $PORT -u $USER ${LANDO_EXTRA_DB_IMPORT_ARGS} $DATABASE"

@ericmulder1980 ericmulder1980 added the bug Something isn't working label Sep 3, 2024
@AaronFeledy AaronFeledy transferred this issue from lando/core-next Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant