永洪社区

标题: 怎么链接sqlserver [打印本页]

作者: yhdata_xSTGVh6b    时间: 2024-10-18 15:58
标题: 怎么链接sqlserver

错误代码:110099999
数据集: '未命名-0'   执行用户: 'admin'
g5.util.RTWrappedException: g5.util.exception.ConnException: No suitable driver found for jdbc:sqlserver://ZL-sql:1433;databaseName=sales
        at g5.qry.driver.ConnectionProvider.getConn(ConnectionProvider.java:122)
        at g5.sv.qry.req.TestQryReq$CreateConnRunable.run(TestQryReq.java:422)
        at g5.thread.ThreadPoolWithChecker$GThread.run0(ThreadPoolWithChecker.java:249)
        at g5.thread.AbsThreadPool$PThread.run(AbsThreadPool.java:333)
Caused by: g5.util.exception.ConnException: No suitable driver found for jdbc:sqlserver://ZL-sql:1433;databaseName=sales
        at g5.qry.sql.impl.SQLConnBuilder.build0(SQLConnBuilder.java:101)
        at g5.qry.sql.impl.JDBCConnBuilder.build(JDBCConnBuilder.java:66)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at g5.qry.driver.ConnectionProvider.getConn(ConnectionProvider.java:91)
        ... 3 more
Caused by: java.sql.SQLException: No suitable driver found for jdbc:sqlserver://ZL-sql:1433;databaseName=sales
        at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:702)
        at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:189)
        at g5.qry.sql.impl.SQLConnBuilder.build0(SQLConnBuilder.java:82)
        ... 9 more



作者: yhdata_lyaa    时间: 2024-10-18 16:14
上传自定义驱动,对应数据库版本的驱动
作者: yhdata_xSTGVh6b    时间: 2024-10-18 16:45
您能帮我找一个啊?我刚才下载了一个  不行

作者: yhdata_lyaa    时间: 2024-10-18 16:49
不知道你是啥版本呢,你去数据库官网下载对应的吧




欢迎光临 永洪社区 (https://club.yonghongtech.com/) Powered by Discuz! X3.4