本月博客排行
-
第1名
龙儿筝 -
第2名
johnsmith9th -
第3名
wy_19921005 - zysnba
- sgqt
- lemonhandsome
年度博客排行
-
第1名
宏天软件 -
第2名
青否云后端云 -
第3名
龙儿筝 - gashero
- wallimn
- vipbooks
- benladeng5225
- wy_19921005
- fantaxy025025
- e_e
- zysnba
- ssydxa219
- sam123456gz
- javashop
- arpenker
- tanling8334
- kaizi1992
- xpenxpen
- wiseboyloves
- xiangjie88
- ranbuijj
- ganxueyun
- sichunli_030
- xyuma
- wangchen.ily
- jh108020
- lemonhandsome
- zxq_2017
- jbosscn
- Xeden
- luxurioust
- lzyfn123
- zhanjia
- johnsmith9th
- forestqqqq
- nychen2000
- ajinn
- wjianwei666
- hanbaohong
- daizj
- 喧嚣求静
- mwhgJava
- silverend
- kingwell.leng
- lchb139128
- lich0079
- kristy_yy
- jveqi
- java-007
- sunj
最新文章列表
数据库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中没 ...