2014-01-19 23:39:42 +08:00
|
|
|
DROP DATABASE IF EXISTS wisemapping;
|
|
|
|
|
2014-01-19 23:32:23 +08:00
|
|
|
CREATE DATABASE IF NOT EXISTS wisemapping
|
2013-03-18 10:19:29 +08:00
|
|
|
CHARACTER SET = 'utf8'
|
|
|
|
COLLATE = 'utf8_unicode_ci';
|
2011-04-09 23:48:36 +08:00
|
|
|
GRANT ALL ON wisemapping.* TO 'wisemapping'@'localhost';
|
2014-01-19 23:39:42 +08:00
|
|
|
SET PASSWORD FOR 'wisemapping'@'localhost' = PASSWORD('password');
|