本月博客排行
-
第1名
Xeden -
第2名
fantaxy025025 -
第3名
bosschen - paulwong
- johnsmith9th
- zysnba
- xiangjie88
年度博客排行
-
第1名
青否云后端云 -
第2名
宏天软件 -
第3名
gashero - gengyun12
- wy_19921005
- vipbooks
- e_e
- benladeng5225
- ranbuijj
- wallimn
- javashop
- jickcai
- fantaxy025025
- zw7534313
- qepwqnp
- robotmen
- 解宜然
- ssydxa219
- zysnba
- sam123456gz
- sichunli_030
- tanling8334
- arpenker
- gaojingsong
- xpenxpen
- kaizi1992
- wiseboyloves
- jh108020
- ganxueyun
- xyuma
- wangchen.ily
- xiangjie88
- Jameslyy
- luxurioust
- mengjichen
- lemonhandsome
- jbosscn
- nychen2000
- zxq_2017
- lzyfn123
- wjianwei666
- forestqqqq
- ajinn
- siemens800
- hanbaohong
- 狂盗一枝梅
- java-007
- zhanjia
- 喧嚣求静
- Xeden
最新文章列表
数据库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中没 ...