我试图将我的spring引导应用程序与sql server数据库连接起来,但它抛出了一个异常,并说:
020-08-18 16:58:11.580 ERROR 14800 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization.
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure co
我们在WebSphere应用服务器9.0.0.3中部署了一个应用程序,并连接到SQL server 2014数据库。但是在连接到数据库时,我们得到了下面的SQL异常错误。你能在这个问题上提供帮助吗?错误:
Caused by: org.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConv
我负责将数据从MS SQL Server2008数据库迁移到MySQL。我安装了Microsoft SQL Server Management Studio,启动了SQL Server和sql Server Browser服务,通过SQL Server配置管理器为SQL数据库启用了TCP/IP和命名管道协议,并创建了一个可以通过SQL身份验证而不是Windows身份验证进行访问的用户。我正在尝试使用MySQL迁移工具获取数据。当我尝试连接到服务器时,我得到以下错误:
Connecting to source database and retrieve schemata names.
Initi
我想在我的Java程序和在另一个服务器(不是本地主机)上用MariaDB创建的数据库之间建立一个连接。对于ServerIP、Databasename、用户和密码,一切都很好。但我知道这个错误:
Exception in thread "main" java.sql.SQLNonTransientConnectionException: Could not connect to address=(host=MY_SERVER_IP)(port=3306)(type=master) : Connection timed out: connect
at org.mariadb.jdb
有许多关于将数据库与Knime集成的旧文章,但是我还没有找到任何关于Java、Knime和SQL的最新版本的讨论。我花了几天时间在这里、StackOverflow和其他地方查看论坛,试图用Knime连接到一个数据库,但是什么都没有起作用。
我的计算机配置如下: 64位操作系统Microsoft SQL Server 2017 (64位版本) Microsoft SQL Server Management Studio 17 Microsoft JDBC Driver 7.0 for SQL Server KNIME 3.7.0 (64位版本) Java jre1.8.0_191
到目前为止,我
我必须将我的JMeter脚本连接到AWS RDS数据库。当我使用以下JDBC连接配置运行测试时,它显示以下错误消息:
java.sql.SQLException: Cannot create PoolableConnectionFactory (Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
JDBC连接配置:
JDB
我有一个使用JTDS连接到Server的应用程序。我需要更改数据库,并希望在重新配置应用程序之前先测试连接字符串。我是Server,不是Java开发人员!这是我的测试代码:
// Import the SQL Server JDBC Driver classes
import java.sql.*;
class Example
{
public static void main(String args[])
{
try
{
// Build the connection string, and get a connection
我正在为我的openfire服务器使用一个外部Mysql数据库,我试图将数据插入到命名为"openfire“的数据库中,其表名为"ofuser”,其字段列为“用户名”、“明文密码”、“加密密码”、“名称”、“电子邮件”、“创建日期”、“修改日期”。
这是我的密码:
try{
Class.forName("com.mysql.jdbc.Driver");
//STEP 3: Open a connection
System.out.println("Connecting to a s
我试图在一个java文件中连接我的数据库,然后在一个jsp文件中使用这个java文件来显示数据库的内容,但是我一直收到多个注释错误。
Java文件
package library;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
public class Book {
public ResultSet database()throws Exception
{
final String JDBC_DRIVER
我试图为运行在MS sql server 2008上的Windows server 2008 R2启用XA事务。
为此,我必须将SQLJDBC_XA.dll文件从JDBC安装目录复制到Binn目录。
这个数据库服务器在磁盘中的任何地方都没有任何这样的文件,而且我也无法访问安装CD。有什么办法可以得到这个特定的文件吗?
请,我想添加一个元素到数据库,但我仍然有这个错误,我不知道错误的确切位置,我确定关于sql查询和我的数据库
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Ahmed,Saleh,2001/12/25,Cité les jasmins N°55, Sf
最近,我正在为集群做好xmpp服务器(openfire)的准备。这就是为什么我需要使用相同的DB设置一个以上的openfire服务器。在使用远程ip设置openfire服务器时配置数据库时,我得到了一个错误,如下所示:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any
我试图从eclipse连接到SQL Server,但我得到了以下错误。我提到,我已验证过,并且SQL Server浏览器正在主机上运行,并且我没有激活任何防火墙。
com.microsoft.sqlserver.jdbc.SQLServerException: The connection to the host
LAURA-PC, named instance sqlexpress failed. Error: "java.net.SocketTimeoutException:
Receive timed out". Verify the server and instan