Introduction - If you have any usage issues, please Google them yourself
Java to establish and disconnect the connection to the database, establishment of database identifier connection, load the drive to get a connection, obtain DatabaseMetaData instance, access to the database name, access to the database version number, access to JDBC driver device name, access to driver device version number, obtain the login user name using Java close the connection, the output error information