이클립스2 [에러모음] exceeded the 'max_questions' resource 에러 설명 이클립스에서 스프링 부트 프로젝트 실행 중에 코드 계속 수정-저장-수정-저장 반복하다 보니 생긴 에러 java.sql.SQLSyntaxErrorException: User 'scott' has exceeded the 'max_questions' resource (current value: 1000) 해결 1. 실행 중이던 프로젝트를 중지 시켰다가 다시 실행하기만 해도 해결 될 때가 있다. 2. MySQL에서 문제가 발생한 유저 외에 다른 유저로 접속해서 max_questions를 0으로 리셋해준다. SET @MAX_QUESTIONS=0; FLUSH PRIVILEGES; 추가 설명 max_questions란 1시간 안에 MySQL의 user가 실행할 수 있는 쿼리의 개수이다. 나의 에러 메세지를.. 2023. 3. 8. [에러모음] Failed to configure a DataSource 에러 설명 이클립스에서 프로젝트를 스프링 부트로 실행할 때 나는 에러 Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 해결 프로젝트의 application.properties 파일에 JDBC url을 추가하면 된다. # DataSource spring.datasource.url=jdbc:mysql://localhost:3306/[DB스키마명]?serverTimeZone=Asia/Seoul spring.datasource.username=[DB접속Id] spring.datasource.password=[DB접속Password] spring.dataso.. 2023. 3. 3. 이전 1 다음