fixed init.sql

parent 69efd0f1
......@@ -2,10 +2,9 @@ SET foreign_key_checks=0;
DROP USER IF EXISTS 'pictodbu';
DELETE FROM mysql.user WHERE user='pictodbu';
FLUSH PRIVILEGES;
CREATE USER 'pictodbu'@'%' identified by 'p1KT0!15.';
GRANT USAGE ON *.* TO 'pictodbu'@'localhost';
CREATE USER 'pictodbu'@'%' identified by 'r"YjtnB+a4$.M*nJ';
DROP DATABASE IF EXISTS pictodb;
CREATE DATABASE pictodb;
SET foreign_key_checks=1;
GRANT all privileges ON pictodb.* to 'pictodbu'@'localhost' identified by 'p1KT0!15.';
GRANT all privileges ON pictodb.* to 'pictodbu'@'localhost' identified by 'r"YjtnB+a4$.M*nJ';
FLUSH PRIVILEGES;
......@@ -2,5 +2,5 @@
database_files_relative_path: 'roles/database/files'
database_name: pictodb
database_user: pictodbu
database_user_passwd: p1KT0!15.
database_user_passwd: r"YjtnB+a4$.M*nJ
database_tests: [caja] #[caja, autismojaen] # can be empty
......@@ -26,7 +26,7 @@ module.exports.connections = {
host: 'localhost',
port: 3306,
user: 'pictodbu',
password: 'p1KT0!15.',
password: 'r"YjtnB+a4$.M*nJ',
database: 'pictodb',
charset : 'utf8',
collation : 'utf8_unicode_ci'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment