drush icon indicating copy to clipboard operation
drush copied to clipboard

Show database version with drush status

Open gitressa opened this issue 2 years ago • 6 comments

Is your feature request related to a problem? Please describe. When I run drush st, database version is not shown.

Describe the solution you'd like It would be nice to show database version, like this:

$ drush st
Drupal version     : 7.97
Site URI           : http://default
Database driver    : mysql
Database version   : MySQL 8.0.34          <<< ADD THIS
Database hostname  : mysql11.example.com
Database port      : 3306
Database username  : example_user
[...]

gitressa avatar Oct 20 '23 13:10 gitressa

Until someone does this, the info is already available with drush core:requirements

weitzman avatar Oct 22 '23 13:10 weitzman

Thanks @weitzman, I wasn't aware of that command, awesome that it exists. Since it seems possible, I hope someone can figure out how out how to add the DB version under drush status as well, at some point.

gitressa avatar Oct 23 '23 08:10 gitressa