2016-10-28 48 views
0

當我做liquibase我收到有關SSL連接mesage的差異(參見下文)JHipster Liquibase警告SSL Mysql的

Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification. Jan 04, 2016 11:46:29 AM org.springframework.context.support.ClassPathXmlApplicationContext prepareRefresh 

但我已經改變了所有的MySQL連接propertie文件上JHipster文件(在開發和生產線)與&useSSL=false。但仍然有錯誤。

任何人都知道是否有另一個文件,我必須更新?

我使用JHipster(3.10.0)的持久版本。

感謝您的幫助!

回答

0

Liquibase diff不使用JHipster應用程序屬性文件,它只是maven和liquibase之間的東西,您是否在pom.xml中更改了此設置?

+0

我沒做任何改變,我創建了3個類,爲了堅持這些類,我使用了diff(但是我面對這個錯誤) –

+0

也許這裏有一個誤解,當你通過maven使用liquibase diff時配置和選項在pom.xml中,在你的情況下,我認爲你必須改變它們。請參閱https://github.com/jhipster/jhipster-sample-app/blob/master/pom.xml#L571-L581否則請澄清您的使用案例 –

+0

是的,您是對的,是我的錯。我花了一段時間完成作品後! –