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

connection:info does not correctly report database name #2424

Closed
nikanderson opened this issue Jan 17, 2023 · 1 comment · Fixed by #2427
Closed

connection:info does not correctly report database name #2424

nikanderson opened this issue Jan 17, 2023 · 1 comment · Fixed by #2427

Comments

@nikanderson
Copy link

Version 3.1.2

terminus connection:info --fields=mysql_database returns

 ---------------- -- 
  MySQL Database     
 ---------------- -- 

and terminus connection:info --fields=mysql_command omits the database at the end of the command.

I suspect this is an error here:

$database = $env_vars['DATABASE'] ?? null;

Introduced recently by this PR #2403

The conversation regarding that PR suggests the env_var should be DB_NAME rather than DATABASE

Thank you!

@namespacebrian
Copy link
Contributor

Tracking internally as BUGS-5781

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants