본문 바로가기

개발관련/error

[MariaDB10 error]java.sql.SQLException: Unknown system variable 'OPTION' / 드라이브 교체하면 해결

728x90

I had the same issue and updating mysql driver version fixed it.

 

https://stackoverflow.com/questions/36648915/java-sql-sqlexception-unknown-system-variable-option

 

java.sql.SQLException: Unknown system variable 'OPTION'

I am installing MYSQL with Ambari server for hadoop installation on ubuntu. I have My Sql installed from Xampp and works fine. The set `Option keyword has been removed from My SQL 5.6 version and

stackoverflow.com

 

 

기존 사용중이던 mysql-connector-java-5.1.14-bin.jar 드라이버를

mysql-connector-java-5.1.46-bin.jar 으로 교체하니 해결되었다.