OSDN Git Service
(root)
/
webchat
/
WebChat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
新しいパスワードを入力しないと更新できないようにした
[webchat/WebChat.git]
/
init.sql
diff --git
a/init.sql
b/init.sql
index
bc45162
..
e41a128
100644
(file)
--- a/
init.sql
+++ b/
init.sql
@@
-1,21
+1,8
@@
-CREATE DATABASE IF NOT EXISTS profile;
grant select,
insert,
delete,
grant select,
insert,
delete,
- update,
create,
drop,
create,
drop,
- file,
- alter,
- index on *.* to user identified by 'user';
+ update on *.* to user identified by 'user';
flush privileges;
flush privileges;
-use profile;
-create table list(name VARCHAR(64) NOT NULL,
- age INT,
- height INT,
- weight INT,
- race VARCHAR(64),
- look TEXT,
- password VARCHAR(16),
- etc TEXT,
- PRIMARY KEY(name));
+CREATE DATABASE IF NOT EXISTS webchat DEFAULT CHARSET=utf8;