Browse Source

Change db configuration

0.2
lishengzhao 11 years ago
parent
commit
d7b71d62b5
  1. 2
      others/database/initial_data.ddl
  2. 10
      others/database/initial_db.ddl

2
others/database/initial_data.ddl

@ -2,7 +2,7 @@
-- admin, password is honyee2013
insert into user_(id,guid,create_time,email,password,phone,username,default_user)
values
(21,'29f6004fb1b0466f9572b02bf2ac1be8',now(),'admin@honyee.cc','69f71fbb5b41bd481d5d3b28a02a0b7e','028-65536867','admin',true);
(21,'29f6004fb1b0466f9572b02bf2ac1be8',now(),'admin@wdcy.cc','69f71fbb5b41bd481d5d3b28a02a0b7e','028-1234567','admin',true);
-- initial oauth client details test data

10
others/database/initial_db.ddl

@ -1,13 +1,13 @@
-- ###############
-- create database , if need create, cancel the comment
-- create MySQL database , if need create, cancel the comment
-- ###############
-- create database if not exists jiuzhai default character set utf8;
-- use jiuzhai set default character = utf8;
-- create database if not exists spring_oauth default character set utf8;
-- use spring_oauth set default character = utf8;
-- ###############
-- grant privileges to jiuzhai/jiuzhai
-- grant privileges to spring_oauth/spring_oauth
-- ###############
-- GRANT ALL PRIVILEGES ON jiuzhai.* TO jiuzhai@localhost IDENTIFIED BY "jiuzhai";
-- GRANT ALL PRIVILEGES ON spring_oauth.* TO spring_oauth@localhost IDENTIFIED BY "spring_oauth";
-- ###############
-- Domain: User

Loading…
Cancel
Save