재생 (1.2.4) + mysql을 통해 대량 삽입을 최적화하려고합니다. 내가 JDBC 구성에 다음을 추가하는 방법에 대한 이야기 일부 게시물 (연결 문자열에 추가) 본 : useServerPrepStmts을 = false를 & rewriteBatchedStatements = 사실 & useCompression = 사실 내가 할 노력했습니다rewriteBatchedStatements를 play, hibernate 및 mysql로 변경하십시오.
:
db=mysql://[email protected]/data?useServerPrepStmts=false&rewriteBatchedStatements=true&useCompression=true
... // : 나는 또한 dB = JDBC를 사용하려고
A database error occured : Cannot connected to the database, The connection property 'useCompression' only accepts values of the form: 'true', 'false', 'yes' or 'no'. The value 'true?useUnicode=yes' is not in this set.
: MySQL의
는하지만이 오류가
아직 운이 없습니다. 내가 무엇이 누락 되었습니까? (물음표로 시작) 매개 변수의 현재 두 세트가 무효로 끝
?useUnicode=yes&characterEncoding=UTF-8&connectionCollation=utf8_general_ci
그래서 난 당신의 연결 문자열을 추측하고있다 :