Skip to content

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

Open
@ericmulder1980

Description

@ericmulder1980

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions