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

mysqld.exe is still running after stopping bootRunDev #203

Open
Kuboczoch opened this issue Feb 11, 2021 · 1 comment
Open

mysqld.exe is still running after stopping bootRunDev #203

Kuboczoch opened this issue Feb 11, 2021 · 1 comment
Assignees
Labels
backend only This issue refers to the backend only bug Something isn't working

Comments

@Kuboczoch
Copy link
Member

Describe the bug
mysqld.exe is still running after stopping bootRunDev via stop button or CTRL+F2 from intellij

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'gradle'
  2. Click on 'bootRunDev'
  3. Click on 'stop'
  4. Click on 'bootRunDev'
  5. You will see the error because mysqld.exe is not closing properly

Expected behavior
To close it with the stop, it is preventing me from restarting dev env more easily.

Logs

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flywaydb.core.Flyway]: Factory method 'flyway' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataSource' defined in class path resource [pl/starchasers/up/configuration/EmbeddedMariadbConfiguration.class]: Unsatisfied dependency expressed through method 'dataSource' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSpringService': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flywaydb.core.Flyway]: Factory method 'flyway' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataSource' defined in class path resource [pl/starchasers/up/configuration/EmbeddedMariadbConfiguration.class]: Unsatisfied dependency expressed through method 'dataSource' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSpringService': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataSource' defined in class path resource [pl/starchasers/up/configuration/EmbeddedMariadbConfiguration.class]: Unsatisfied dependency expressed through method 'dataSource' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSpringService': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mariaDB4jSpringService': Invocation of init method failed; nested exception is java.lang.IllegalStateException: MariaDB4jSpringService start() failed
java.lang.IllegalStateException: MariaDB4jSpringService start() failed
ch.vorburger.exec.ManagedProcessException: An error occurred while starting the database
ch.vorburger.exec.ManagedProcessException: Asked to wait for "mysqld.exe: ready for connections." from Program [C:\Users\KUBOCZ~1\AppData\Local\Temp\MariaDB4j\base\bin\mysqld.exe, --no-defaults, --console, --skip-grant-tables, --max_allowed_packet=64M, --basedir=C:\Users\Kuboczoch\AppData\Local\Temp\MariaDB4j\base, --datadir=D:\WebstormProjects\up\spring-app\database, --port=3308] (in working directory C:\Users\KUBOCZ~1\AppData\Local\Temp\MariaDB4j\base), but it already exited! (without that message in console), last 100 lines of console:
Process 'command 'C:\Program Files\Java\jdk-11.0.8\bin\java.exe'' finished with non-zero exit value 1

Desktop (please complete the following information):

  • OS: Windows
@Kuboczoch Kuboczoch added bug Something isn't working invalid This doesn't seem right backend only This issue refers to the backend only labels Feb 11, 2021
@HubertBalcerzak HubertBalcerzak removed the invalid This doesn't seem right label Feb 22, 2021
@HubertBalcerzak
Copy link
Collaborator

will be fixed by #212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend only This issue refers to the backend only bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants