fix: update MySQL user creation for MySQL 8.0+ compatibility
Some checks failed
Java CI with Gradle / build (25) (push) Failing after 2s
Java CI with Maven / build (25) (push) Successful in 1m24s
Deploy and Test Cluster / deploy-and-test-cluster (push) Failing after 4m10s

Signed-off-by: henribon <henribonrec@gmail.com>
This commit is contained in:
henribon 2025-10-29 18:55:36 -03:00 committed by Dave Syer
parent 37d53152a0
commit 8f08b38f2c

View file

@ -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;