You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D7 installation fails with Drush 8.x: Incorrect table name 'mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead
#6183
Open
csandanov opened this issue
Dec 17, 2024
· 2 comments
Expected behavior
Installation completes without errors
Actual behavior
Error thrown
System Configuration
Q
A
Drush version?
8.5.0
Drupal version?
7.x
PHP version
8.x
OS?
Linux
Additional information
Executing: mysql --defaults-extra-file=/tmp/drush_fdoGcc --database=drupal --host=mariadb --silent < /tmp/drush_jbNBcc > /dev/null
Notice: y: SHOW TABLES; [0.14 sec, 7.46 MB] [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_hDkIad --database=drupal --host=mariadb --silent < /tmp/drush_JLiEad
mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead
Notice: y: DROP TABLE `mysql: Deprecated program name. It will be [notice]removed in a future release, use '/usr/bin/mariadb' instead` [0.17
sec, 7.47 MB]
Executing: mysql --defaults-extra-file=/tmp/drush_fLmGfg --database=drupal --host=mariadb --silent < /tmp/drush_gMdBfg
Error: to create database: mysql: Deprecated program name. It will be [error]
removed in a future release, use '/usr/bin/mariadb'
instead--------------DROP TABLE `mysql: Deprecated program name. Itwill be removed in a future release, use '/usr/bin/mariadb'instead`--------------ERROR 1103 (42000) at line 1: Incorrect table
name 'mysql: Deprecated program name. It will be removed in a
future release, use '/usr/bin/mariadb' inste' [0.2
sec, 7.47 MB]
Returned from hook drush_core_pre_site_install [0.2 sec, 7.47 MB] [debug]
Notice: dispatch complete [0.2 sec, 7.42 MB] [notice]
mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead
--------------
DROP TABLE `mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead`
--------------
ERROR 1103 (42000) at line 1: Incorrect table name 'mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' inste'
The text was updated successfully, but these errors were encountered:
Same issue when I want to import db for the same reason.
drush sql:cli < ../backup.sql :
In Process.php line 270:
The command "mysql --defaults-file=/tmp/drush_KblbgB --database=drupal --ho
st=mariadb --port=3306 -A" failed.
Exit Code: 1(General error)
Working directory: /var/www/html/drupal/web
Output:
================
Error Output:
================
mysql: Deprecated program name. It will be removed in a future release, use
'/usr/bin/mariadb' instead
ERROR 2026 (HY000): TLS/SSL error: SSL is required, but the server does not
support it
Describe the bug
Drupal 7 installation fails when using latest stable mariadb-client (Alpine 3.21)
To Reproduce
drush si
Expected behavior
Installation completes without errors
Actual behavior
Error thrown
System Configuration
Additional information
The text was updated successfully, but these errors were encountered: