Using spring-boot-jpa
auto generate create mysql's table, but the encoding is latin1.
How to change the encode to UTF-8.
The config is:
spring.datasource.url=jdbc:mysql://localhost:3306/test
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.sql-script-encoding=UTF-8