代码摘抄:Class Driver, from mysql-connector-java-8.0.17.jar

//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.mysql.cj.jdbc;

import java.sql.DriverManager;
import java.sql.SQLException;

public class Driver extends NonRegisteringDriver implements java.sql.Driver {
    public Driver() throws SQLException {
    }

    static {
        try {
            DriverManager.registerDriver(new Driver());
        } catch (SQLException var1) {
            throw new RuntimeException("Can‘t register driver!");
        }
    }
}

说明:a same name, interface Driver which is not class from package java.sql on rt.jar

代码摘抄:Class Driver, from mysql-connector-java-8.0.17.jar

上一篇:MySQL监控与慢SQL解决思路


下一篇:阿里云ECS服务器使用体验