initial commit
Change-Id: I0cbba3ab47a624a312bbb0d00caa3e4d67bc2239
This commit is contained in:
11
src/main/resources/db/mysql/user.sql
Normal file
11
src/main/resources/db/mysql/user.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
CREATE DATABASE IF NOT EXISTS petclinic;
|
||||
|
||||
ALTER DATABASE petclinic
|
||||
DEFAULT CHARACTER SET utf8
|
||||
DEFAULT COLLATE utf8_general_ci;
|
||||
|
||||
CREATE USER IF NOT EXISTS 'petclinic'@'%' IDENTIFIED BY 'petclinic';
|
||||
|
||||
GRANT ALL PRIVILEGES ON petclinic.* TO 'petclinic'@'%';
|
||||
|
||||
FLUSH PRIVILEGES;
|
||||
Reference in New Issue
Block a user