OSDN Git Service

name_hashは被る可能性があるので、primaryではなくindexを指定するようにした
[webchat/WebChat.git] / init.sql
index e41a128..5d25fd2 100644 (file)
--- a/init.sql
+++ b/init.sql
@@ -3,6 +3,7 @@ grant select,
        delete,
        create,
        drop,
+       index,
        update on *.* to user identified by 'user';
 flush privileges;
 CREATE DATABASE IF NOT EXISTS webchat DEFAULT CHARSET=utf8;