使用JDBC连接MySQL数据库时报No suitable driver found for jdbc:mysql:localhost:mysql MySQL版本:8.0.26 将driver改为: “jdbc:mysql://localhost:3306/mysql?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai” 完整代码 import java.sql.*; public class JDBCTest { public static void main(