具體實現MyEclipse安裝JDBC驅動程序請看這位博主的博客
http://blog.csdn.net/xin917480852/article/details/52439858
在此就不一一敘說了直接說安裝完成後建立連接出現以下問題
WARN: Establishing SSL connection without server’s identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn’t set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to ‘false’. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
解決辦法,在傳入進去的url地址
URL=”jdbc:mysql://127.0.0.1:3306/loukundb2”;
加上
?useSSL=false
即url爲
"jdbc:mysql://127.0.0.1:3306/loukundb2?useSSL=false";
就沒有問題了。