Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql url

<!-- MySQL dataSource config -->
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
    <property name="driverClassName" value="com.mysql.cj.jdbc.Driver" /><!-- mysql 8 -->
    <property name="url" value="jdbc:mysql://localhost:3306/mydb?useSSL=false&serverTimezone=UTC&characterEncoding=utf-8" />
    <property name="username" value="matt" />
    <property name="password" value="12345" />
</bean>
Source by matthung0807.blogspot.com #
 
PREVIOUS NEXT
Tagged: #mysql #url
ADD COMMENT
Topic
Name
8+1 =