initial commit
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Has been cancelled
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Has been cancelled
Change-Id: I16fd3a6659101956c91fdd5fda8b31c43458ebee
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