rdbmswriter读取DMStar数据库报找不到驱动错误
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 5.7k
- PR merge metrics
- No merged PRs in 30d
Description
1、注册驱动
{
"name": "rdbmswriter",
"class": "com.alibaba.datax.plugin.reader.rdbmswriter.RdbmsWriter",
"description": "useScene: prod. mechanism: Jdbc connection using the database, execute select sql, retrieve data from the ResultSet. warn: The more you know about the database, the less problems you encounter.",
"developer": "alibaba",
"drivers":["dm.jdbc.driver.DmDriver", "com.sybase.jdbc3.jdbc.SybDriver", "com.edb.Driver", "org.deepdt.dmstar.driver.remote.DmstarDriver"]
}
2、将驱动jar包放在datax/plugin/reader/rdbmswriter/libs目录下
执行报错信息:
Description:[连接数据库失败. 请检查您的 账号、密码、数据库名称、IP、Port或者向 DBA 寻求帮助(注意网络环境).].
具体错误信息为:java.sql.SQLException: No suitable driver found for
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the rdbmswriter driver registration and RdbmsWriter connection path, using the driver JAR placed in datax/plugin/reader/rdbmswriter/libs. Reproduce the DMStar connection and inspect why the registered org.deepdt.dmstar.driver.remote.DmstarDriver is not selected for the supplied JDBC URL. Done means the DMStar connection no longer reports “No suitable driver found”.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100