fix mysql database and user creation

main
Claudio Barril 2014-01-19 12:39:42 -03:00
parent 541d07c46c
commit 2e24032d1c
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
DROP DATABASE IF EXISTS wisemapping;
CREATE DATABASE IF NOT EXISTS wisemapping
CHARACTER SET = 'utf8'
COLLATE = 'utf8_unicode_ci';
CREATE USER 'wisemapping'@'localhost'
IDENTIFIED BY 'password';
GRANT ALL ON wisemapping.* TO 'wisemapping'@'localhost';
SET PASSWORD FOR 'wisemapping'@'localhost' = PASSWORD('password');