Upgrade mysql version to 5.1.35(old 5.1.6), update some comment issues
parent
39969ddfed
commit
175863c75c
|
@ -1,13 +1,13 @@
|
||||||
-- ###############
|
-- ###############
|
||||||
-- create MySQL database , if need create, cancel the comment
|
-- create MySQL database , if need create, cancel the comment
|
||||||
-- ###############
|
-- ###############
|
||||||
-- create database if not exists spring_oauth default character set utf8;
|
-- create database if not exists oauth2 default character set utf8;
|
||||||
-- use spring_oauth set default character = utf8;
|
-- use oauth2 set default character = utf8;
|
||||||
|
|
||||||
-- ###############
|
-- ###############
|
||||||
-- grant privileges to spring_oauth/spring_oauth
|
-- grant privileges to oauth2/oauth2
|
||||||
-- ###############
|
-- ###############
|
||||||
-- GRANT ALL PRIVILEGES ON spring_oauth.* TO spring_oauth@localhost IDENTIFIED BY "spring_oauth";
|
-- GRANT ALL PRIVILEGES ON oauth2.* TO oauth2@localhost IDENTIFIED BY "oauth2";
|
||||||
|
|
||||||
-- ###############
|
-- ###############
|
||||||
-- Domain: User
|
-- Domain: User
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -82,7 +82,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>mysql</groupId>
|
<groupId>mysql</groupId>
|
||||||
<artifactId>mysql-connector-java</artifactId>
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
<version>5.1.6</version>
|
<version>5.1.35</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
@ -4,5 +4,5 @@ jdbc.driverClassName=com.mysql.jdbc.Driver
|
||||||
# localhost
|
# localhost
|
||||||
############
|
############
|
||||||
jdbc.url=jdbc:mysql://localhost:3306/oauth2?autoReconnect=true&autoReconnectForPools=true&useUnicode=true&characterEncoding=utf8
|
jdbc.url=jdbc:mysql://localhost:3306/oauth2?autoReconnect=true&autoReconnectForPools=true&useUnicode=true&characterEncoding=utf8
|
||||||
jdbc.username=honyee
|
jdbc.username=andaily
|
||||||
jdbc.password=honyee
|
jdbc.password=andaily
|
|
@ -4,5 +4,5 @@ jdbc.driverClassName=com.mysql.jdbc.Driver
|
||||||
# localhost
|
# localhost
|
||||||
############
|
############
|
||||||
jdbc.url=jdbc:mysql://localhost:3306/oauth2_test?autoReconnect=true&autoReconnectForPools=true&useUnicode=true&characterEncoding=utf8
|
jdbc.url=jdbc:mysql://localhost:3306/oauth2_test?autoReconnect=true&autoReconnectForPools=true&useUnicode=true&characterEncoding=utf8
|
||||||
jdbc.username=wdcy
|
jdbc.username=andaily
|
||||||
jdbc.password=wdcy
|
jdbc.password=andaily
|
Loading…
Reference in New Issue