Skip to content

Task prepare database fails on Java with MySQL #15852

@Katka92

Description

@Katka92

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/devfile-registryarea/hosted-chekind/bugOutline of a bug - must adhere to the bug report template.severity/P1Has a major impact to usage or development of the system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions