Why do we get the error when DevTest configured with MYSQL

Document ID : KB000100659
Last Modified Date : 08/06/2018
Show Technical Document Details
Introduction:
Configured DevTest10.3 with MySQL and while starting up the EnterpriseDashboardService getting the below error 

2018-06-06 15:03:42,574 [main] ERROR org.springframework.boot.SpringApplication - Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dradisInitBean': Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Found non-empty schema `lisa10` without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table.
Question:
Why do we get the below error when DevTest configured with MYSQL?

 2018-06-06 15:03:42,574 [main] ERROR org.springframework.boot.SpringApplication - Application startup failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dradisInitBean': Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Found non-empty schema `lisa10` without metadata table! Use baseline() or set baselineOnMigrate to true to initialize the metadata table. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
Environment:
DevTest 10.3
Answer:
Dropping the existing schema "lisa121" in MYSQL and configuring different databases for EnterprisDashboard in dradis.properties and for Registry site.properties should resolve the issue.
Additional Information:
Possible causes for the above error could be:
. Incorrect configuration of MYSQL in DevTest property files.
. Creation of DB Schema manually.