add if not exists to mysql database creation

This commit is contained in:
Claudio Barril 2014-01-19 12:32:23 -03:00
parent 953e473ef0
commit 9b133468e4

View File

@ -1,4 +1,4 @@
CREATE DATABASE wisemapping CREATE DATABASE IF NOT EXISTS wisemapping
CHARACTER SET = 'utf8' CHARACTER SET = 'utf8'
COLLATE = 'utf8_unicode_ci'; COLLATE = 'utf8_unicode_ci';
CREATE USER 'wisemapping'@'localhost' CREATE USER 'wisemapping'@'localhost'