本月博客排行
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
wy_19921005 - 大家都说我很棒
- liyihz2008
- gengyun12
- e_e
- luxurioust
- zysnba
- robotmen
- gaozzsoft
- jywhltj
- hbxflihua
- gashero
- qepwqnp
- 解宜然
- vipbooks
- sichunli_030
- fantaxy025025
- wallimn
- cuityang
- ssydxa219
- gdpglc
- javashop
- ranbuijj
- jickcai
- johnsmith9th
- hanbaohong
- appalese
- gaojingsong
- java-007
- weiyides
- zhangyi0618
- AVI
- laiyangdeli
- 淡看人生
- liunancun
- tanling8334
- xpenxpen
- xyuma
- lemonhandsome
- nychen2000
- 龙哥IT
- ouanui
- conkeyn
- jveqi
- panshunchang
- sam123456gz
- wjianwei666
- MagicLee
最新文章列表
数据库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中没 ...