Commit 98268aec authored by Miguel Reboiro Jato's avatar Miguel Reboiro Jato

Adds user creation to MySQL script

Apart from creatint the database, now the MySQL script also
creates the required user.
parent 8a9b9be2
CREATE DATABASE IF NOT EXISTS `employees`;
USE `employees`;
CREATE USER IF NOT EXISTS `kata3`@`localhost` IDENTIFIED BY "kata3";
GRANT ALL ON `employees`.* TO `kata3`@`localhost`;
FLUSH PRIVILEGES;
DROP TABLE IF EXISTS Employees;
CREATE TABLE `employees`.`Employees` (
......
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 to comment