fix mysql database and user creation
parent
541d07c46c
commit
2e24032d1c
|
@ -1,6 +1,7 @@
|
||||||
|
DROP DATABASE IF EXISTS wisemapping;
|
||||||
|
|
||||||
CREATE DATABASE IF NOT EXISTS 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'
|
|
||||||
IDENTIFIED BY 'password';
|
|
||||||
GRANT ALL ON wisemapping.* TO 'wisemapping'@'localhost';
|
GRANT ALL ON wisemapping.* TO 'wisemapping'@'localhost';
|
||||||
|
SET PASSWORD FOR 'wisemapping'@'localhost' = PASSWORD('password');
|
Loading…
Reference in New Issue