-- 유저이름@아이피주소
create user 'cxxerry'@'%' identified by '비밀번호입력';
-- ON DB이름.테이블명
-- TO 유저이름@아이피주소
GRANT ALL PRIVILEGES ON . TO 'cxxerry'@'%';
CREATE DATABASE blog CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
use blog;
show variables like 'c%';
src/main/resources/application.yml
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/blog?serverTimezone=Asia/Seoul
username: cxxerry
password: chlgmlwjd01!
Grandpashabet https://corinthianrecords.com