java eclipse连接数据库失败怎么解决

img


java.sql.SQLException: No suitable driver found for jdbc:mysal://localhost:3306/ktvuseSSL=false=false&serverTimeZone=GMT
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at test.mqslutil.getCon(mqslutil.java:27)

url换成这个jdbc:mysql://localhost:3306/ktv?useSSL=false&serverTimeZone=GMT

jdbc:mysal://localhost:3306/ktvuseSSL=false=false&serverTimeZone=GMT
改成
jdbc:mysql://localhost:3306/ktv?useSSL=false&serverTimeZone=GMT

img


这里写错了换成mysql