mysql(2)
-
mySQL
Could not acquire management access for administration RuntimeError: Unalbe to execute command chcp. Please make sure that the C:\Windows\System32 directory is in your PATH environment variable. 프로세스를 강제 종료시키고 나면 재부팅을 해도 접속 오류가 날 때가 있다. 이 경우 services.msc 를 실행시킨 후 mysql을 찾아 시작해주면 해결 됨. Public Key Retrieval is not allowed allowPublicKeyRetrieval=true 를 주면 된다 ex) jdbc:mysql://localhost:3306/jpadb?a..
2021.08.11 -
MySql 연동
properties에 추가 spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/jpadb?useUnicode=yes&characterEncoding=UTF-8&useSSL=false spring.datasource.username=root spring.datasource.password=1234 spring.jpa.hibernate.ddl-auto=update spring.jpa.generate-ddl=false spring.jpa.show-sql=true spring.jpa.database=mysql spring.jpa.database-platform=org.hi..
2021.08.05