add if not exists to mysql database creation

This commit is contained in:
Claudio Barril 2014-01-19 12:32:23 -03:00
parent abede3c010
commit f20b3a7a46

View File

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