当前位置:Gxlcms > 数据库问题 > JDBC中的DriverManager.getConnection(url)中的参数url

JDBC中的DriverManager.getConnection(url)中的参数url

时间:2021-07-01 10:21:17 帮助过:5人阅读

MySQL数据库

String url ="jdbc:mysql://localhost/myDB?user=soft&password=soft1234&useUnicod e=true&characterEncoding=8859_1"
//myDB为数据库名
Connection conn= DriverManager.getConnection(url);

JDBC中的DriverManager.getConnection(url)中的参数url

标签:odi   mys   mysq   rman   nec   etc   cal   cte   sql   

人气教程排行