请知道我在数据库领域还很新.我能够正确安装mySQL并安装Java连接器驱动程序.但是,每当我在eclipse中运行程序并尝试从创建的数据库中检索信息时,都会收到以下消息:“需要SSL连接,但服务器不支持”.在这里,我要使用安全的SSL连接运行的代码:
`public static void main(String [] args){
String username = "";
String password = "";
String dbURL = "jdbc:mysql://localhost:3306/demo"
+ "?verifyServerCertificate=false"
+ "&useSSL=false"
+ "&requireSSL=false";
try{
// 1. Get a connection to database
Connection myConn = DriverManager.getConnection(dbURL, username, password);
// 2. Create a statement
Statement myStmt = myConn.createStatement();
// 3. Execute SQL query
ResultSet myRs = myStmt.executeQuery("select name from movies");
// 4. Process the result set
while(myRs.next()){