mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 19:07:28 +00:00
fix: update MySQL user creation for MySQL 8.0+ compatibility
Signed-off-by: henribon <henribonrec@gmail.com>
This commit is contained in:
parent
37d53152a0
commit
8f08b38f2c
1 changed files with 5 additions and 1 deletions
|
|
@ -4,4 +4,8 @@ ALTER DATABASE petclinic
|
|||
DEFAULT CHARACTER SET utf8
|
||||
DEFAULT COLLATE utf8_general_ci;
|
||||
|
||||
GRANT ALL PRIVILEGES ON petclinic.* TO 'petclinic'@'%' IDENTIFIED BY 'petclinic';
|
||||
CREATE USER IF NOT EXISTS 'petclinic'@'%' IDENTIFIED BY 'petclinic';
|
||||
|
||||
GRANT ALL PRIVILEGES ON petclinic.* TO 'petclinic'@'%';
|
||||
|
||||
FLUSH PRIVILEGES;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue