본문 바로가기

atlassian_confluence_jira

confluence could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet

320x100

confluence restore 하고 구동시켰는데

could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet

위와 같이 에러가 발생한다.

여러가지 방법을 다 써봤지만.. 실패..

 

mysql 백업에 문제가 있었다.

mysql 데이터가 용량이 크다보니 max 값을 지정을 안해주면 백업 할때 에러가 발생한다.

 

https://algo79.tistory.com/626

 

mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when dumping table `

mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when dumping table ` 백업 진행할때 --max_allowed_packet=2G 옵션을 추가해서 하자.

algo79.tistory.com

백업할때 옵션을 --max_allowed_packet=2G 추가해주자.

 

예)

mysqldump -u root -p(passwd) --max_allowed_packet=\2G confluence|gzip > /data/backup/confluence_db_backup/confluence_db.mysql.gz

320x100