Updated user for mysql

Updated creation of user for mysql db. Previously lack of quotes resulted in creation of incorrect user (petclinic@% instead of just petclinic)
This commit is contained in:
Cesarion Pshebytski 2020-08-19 23:00:24 +03:00 committed by Dave Syer
parent 7615395b1f
commit 8b1ac6736e

View file

@ -4,4 +4,4 @@ ALTER DATABASE petclinic
DEFAULT CHARACTER SET utf8 DEFAULT CHARACTER SET utf8
DEFAULT COLLATE utf8_general_ci; DEFAULT COLLATE utf8_general_ci;
GRANT ALL PRIVILEGES ON petclinic.* TO 'petclinic@%' IDENTIFIED BY 'petclinic'; GRANT ALL PRIVILEGES ON petclinic.* TO 'petclinic'@'%' IDENTIFIED BY 'petclinic';