### Error updating database. Cause: com.mysql.cj.jdbc.exceptions.MySQLTransactionRollbackException: Lock wait timeout exceeded; try restarting transaction
### The error may involve com.miniproj.mappers.pointlogmapper.insertPointlog-Inline
### The error occurred while setting parameters
### SQL: insert into pointlog (pointWho, pointWhy, pointScore) values ( ?, ?, (select pointScore from pointdef where pointWhy = ?) )
### Cause: com.mysql.cj.jdbc.exceptions.MySQLTransactionRollbackException: Lock wait timeout exceeded; try restarting transaction
; SQL []; Lock wait timeout exceeded; try restarting transaction; nested exception is com.mysql.cj.jdbc.exceptions.MySQLTransactionRollbackException: Lock wait timeout exceeded; try restarting transaction
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:259)
"

진짜 뭐임???
컴퓨터 껐다 키니까 이번엔 새로운 오류가 났었음
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@22fa7c18] was not registered for synchronization because synchronization is not active
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@22fa7c18]
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
### The error may exist in file [D:\lecture\spring\myPractice.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\MiniProject\WEB-INF\classes\mappers\hboardMapper.xml]
### The error may involve com.miniproj.mappers.hboardMapper.getAllBoard
아무것도 안하고 컴퓨터만 재부팅했는데 그전까지 멀쩡하던 hboardMapper에 문제가 생긴거임
그래서 <property name="url" value="jdbc:mysql://localhost:3306/sky?serverTimezone=Asia/Seoul&useSSL=false&allowPublicKeyRetrieval=true"/> 이렇게 allowPublicKeyRetrieval=true 옵션 추가하니까 hboardMapper가 고쳐짐... 그런데 문제는 그동안 문제였던 pointlogmapper도 같이 고쳐짐....

내 3시간 돌려내