本月博客排行
-
第1名
duanfei -
第2名
benladeng5225 -
第3名
steven789654 - wddpwzzhao123
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
wy_19921005 - benladeng5225
- kaizi1992
- tanling8334
- vipbooks
- sam123456gz
- arpenker
- zysnba
- fantaxy025025
- wallimn
- e_e
- jh108020
- ganxueyun
- Xeden
- xyuma
- wangchen.ily
- zhanjia
- johnsmith9th
- zxq_2017
- forestqqqq
- jbosscn
- daizj
- xiangjie88
- xpenxpen
- 喧嚣求静
- lchb139128
- kristy_yy
- javashop
- lzyfn123
- sunj
- yeluowuhen
- ajinn
- lerf
- lemonhandsome
- chenqisdfx
- xiaoxinye
- flashsing123
- lyndon.lin
- bosschen
- zhangjijun
- sunnylocus
- lyj86
- paulwong
- sgqt
- hudiemeng870329
- mft8899
- duanfei
- java_doom
最新文章列表
数据库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中没 ...