本月博客排行
-
第1名
kaizi1992 -
第2名
arpenker -
第3名
wy_19921005 - hanbaohong
- jh108020
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
青否云后端云 - vipbooks
- wy_19921005
- benladeng5225
- fantaxy025025
- e_e
- kaizi1992
- tanling8334
- arpenker
- sam123456gz
- javashop
- zysnba
- xiangjie88
- lemonhandsome
- wallimn
- ganxueyun
- Xeden
- zhanjia
- xyuma
- wangchen.ily
- jh108020
- johnsmith9th
- zxq_2017
- jbosscn
- forestqqqq
- daizj
- ajinn
- xpenxpen
- 喧嚣求静
- kingwell.leng
- silverend
- kristy_yy
- lchb139128
- lich0079
- jveqi
- lzyfn123
- java-007
- sunj
- yeluowuhen
- lerf
- xiaoxinye
- flashsing123
- zhangjijun
- lxguy
- bosschen
- lyndon.lin
- sunnylocus
- chenqisdfx
最新文章列表
数据库No suitable driver found for jdbc数据库连接出现的问题~终于解决了
Mysql
一.出现的问题
--------jdbc.properties
No suitable driver found for jdbc:mysql://localhost:3306/colleage?useUnicode
没合适的驱动.....
驱动jar包明明在的mysql-connector-java-5.1.34.jar
检查驱动配置 ...
No suitable driver found for jdbc:mysql://127.0.0.1:3306 问题
Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbc:mysql://127.0.0.1:3306
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManage ...
no suitable driver found for jdbc:mysql//localhost:3306/..
出现这样的情况,一般有四种原因:一:连接URL格式出现了问题(Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/XX","root","XXXX")二:驱动字符串出错(com.mysql.jdbc.Driver) 三:Classpath中没 ...