If change MySQL JDBC driver from 5.1.38
to 6.0.2
I get the following exception
java.sql.SQLNonTransientConnectionException: CLIENT_PLUG
Use Maven depandency
###pom.xml
mysql
mysql-connector-java
5.1.37
##application.properties
server.port=9092
jwt.secret=javainuse
spring.datasource.url=jdbc:mysql://localhost:3306/hospital
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name= com.mysql.jdbc.Driver
spring.datasource.platform=mysql
#spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.properties.hibernate.dialect= org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.hibernate.ddl-auto= update
#spring.jpa.properties.hibernate.dialect= org.hibernate.dialect.MySQL5InnoDBDialect