
USE xc_data;

GRANT ALL PRIVILEGES ON xc_data.* TO XCManager@'%';

UPDATE mysql.user SET PASSWORD = PASSWORD('sutron') WHERE USER='XCManager' AND PASSWORD='';

GRANT select ON xc_data.* TO xconnect@'%';

UPDATE mysql.user SET PASSWORD = PASSWORD('xconnect') WHERE USER='xconnect' AND PASSWORD='';

