From d7b71d62b5be91c13c52183e469d0689696321c4 Mon Sep 17 00:00:00 2001 From: lishengzhao Date: Thu, 20 Mar 2014 11:31:03 +0800 Subject: [PATCH] Change db configuration --- others/database/initial_data.ddl | 2 +- others/database/initial_db.ddl | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/others/database/initial_data.ddl b/others/database/initial_data.ddl index d7ffe61..25d6df9 100644 --- a/others/database/initial_data.ddl +++ b/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 diff --git a/others/database/initial_db.ddl b/others/database/initial_db.ddl index 4a470fc..cc46374 100644 --- a/others/database/initial_db.ddl +++ b/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