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

Task prepare database fails on Java with MySQL #15852

Closed
Katka92 opened this issue Jan 28, 2020 · 1 comment · Fixed by eclipse-che/che-devfile-registry#192
Closed

Task prepare database fails on Java with MySQL #15852

Katka92 opened this issue Jan 28, 2020 · 1 comment · Fixed by eclipse-che/che-devfile-registry#192
Labels
area/devfile-registry area/hosted-che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.

Comments

@Katka92
Copy link
Contributor

Katka92 commented Jan 28, 2020

Describe the bug

The command prepare database does not work in a Java with Spring Boot and MySQL workspace. There is an error in terminal: ERROR 1046 (3D000) at line 1: No database selected.

Che version

7.7.1b

Steps to reproduce

  1. Log in to che.openshift.io
  2. Go to Workspaces -> Add Workspace
  3. Select Java with Spring Boot and MySQL stack
  4. Run the workspace with the default setting
  5. Run task prepare database

Expected behavior

The task should end successfully.

Runtime

https://che.openshift.io

Screenshots

Screenshot from 2020-01-28 14-35-51

@Katka92 Katka92 added the kind/bug Outline of a bug - must adhere to the bug report template. label Jan 28, 2020
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jan 28, 2020
@l0rd l0rd added area/devfile-registry team/languages severity/P1 Has a major impact to usage or development of the system. area/hosted-che and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jan 28, 2020
@tsmaeder
Copy link
Contributor

Sounds like someone in the example (not under our control) broke the command. We should never rely on the master branch for examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devfile-registry area/hosted-che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants