I would like to insert emoji like
相关问题
- Unable to run mariadb when mount volume
- Dependency injection into Logback Appenders with S
- Deserialize duplicate keys to list using Jackson
- How can I access the repository from the entity in
- WebElement.getText() function and utf8
相关文章
- How to load @Configuration classes from separate J
- Using Spring Dynamic Languages Support from Groovy
- Spring JMS : Set ErrorHandler for @JmsListener ann
- Spanish Characters in HTML Page Title
- ModelMapper: Choose mapping based on Child class
- Configure Spring for CORS
- Remove transitive classpath dependency in gradle
- SpringBoot When file upload size limit exceeds get
spring-boot
2.0.0.RC2mysql
5.7.14spring.datasource.connectionInitSql
is not work for mei see hikari.pool
then try
it works so do
ref https://github.com/brettwooldridge/HikariCP#configuration-knobs-baby
For Spring boot with tomcat embedded use:
spring.datasource.tomcat.initSQL = SET NAMES 'utf8mb4'
When you are connecting, set the charset to utf8mb4. Please provide the connection details.
Use utf8mb4 on the column(s) in the table. Please provide
SHOW CREATE TABLE
so we can verify that the column, not just the table default is utf8mb4.OKAY, I found the problem.
The solution was to add
in the application.yml.
connectionInitSql
is used by HikariCP when it open the connection.