jbdaa.blogg.se

Mysql no database selected
Mysql no database selected




19:11:03.801 ERROR 39525 - o.s.boot.SpringApplication : Application run failed To display the conditions report re-run your application with 'debug' enabled. 19:11:03.796 INFO 39525 - ConditionEvaluationReportLoggingListener :Įrror starting ApplicationContext. 19:11:03.777 WARN 39525 - ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: .BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource : Invocation of init method failed nested exception is .ServiceException: Unable to create requested service I did put the data base name after the URL the first time and it does not work (the application doesn't start), heres the error code when i put the db name in the url 19:11:03.775 WARN 39525 - o.h.e.j.e.i.JdbcEnvironmentInitiator : HHH000342: Could not obtain connection to query metadata : Unknown database 'spring-coffee' Heres my application.properties -auto=create

mysql no database selected

My application works but when I try to write to the DB i get an error.

mysql no database selected mysql no database selected

I tested the connection using MySQL workbench and it works fine. I just switched from a h2 embedded database to a MySQL database running on AWS.






Mysql no database selected