Neo4j ETL Tool: Connection failed. SQL state: S0001 - sql

I'm trying to utilize Neo4j ETL Tool to Import Data From My SQL Server Database into the Neo4j Graph Database. I also enabled TCP/IP 1433 Port in SQL Server 2019 Configuration Manager and Authorized it by Firewall and Imported Suitable mssql-jdbc-8.2.2.jre8 file for JDBC Driver option.
I already set
Connection name: test
Host:localhost
Type: MSSQL
Database: my_database_name
Schema: my_db_schema
and here is my connection URL:
jdbc:sqlserver://localhost:1433;databaseName=TSQLV4
I set all of the options fines but When I aim to Test and Save the connection I encounter with this weird error:
Connection failed. SQL state: S0001, message: Login failed for user ''. ClientConnectionId:33b259b2-650a-4017-94fa-b86cfc657c9e
and My SQL Server Services are all run in the background among them:
MSSQLSERVER
MSSQLSERVER Agent
MSSQLSERVER VSS Writer
do you have any idea to run the job?

If you did not create any user in TSQLV4 database, just put the intergratedSecurity=true at the end of your jdbc connection string like below:
jdbc:sqlserver://localhost:1433;databaseName=TSQLV4;integratedSecurity=true;

Related

Why application in Azure Container Instance cannot connect to Azure SQL DB for PostgreSQL?

I have Python application in Azure Container Instance, which tries establish connection to Azure DB for PostgreSQL, but failing. Azure DB firewall is open for Azure services. Connection works fine, when application is connecting from local machine docker.
I wonder what is the problem?
psql: error: FATAL: password authentication failed for user "myuser"
'sales.Customers' table is unavailable - sleeping
* Could not resolve host: hslotp
* Closing connection 0
OTP is unavailable - sleeping
Have you checked the ports match, here is something you can verify from Troubleshoot connection issues to Azure Database for PostgreSQL
make sure you have the latest of psycopg2 release or atleast above 2.8.0
Also, the connection string should looks like below. Make sure you get Server name and login details from Azure portal.
postgresql://user:password#container_name:5432?sslmode=disable
Refer: thon to connect and query data in Azure Database for PostgreSQL

Processing SSAS Tabular model Fails Remote Server

I'm trying to create a SSAS Project and deploy to a remote server.
The Data Source is a Database in the same server, but the project must be made in my laptop.
The remote server is not in a domain environment, so to login in SSAS, I used runas /netonly mothod using Server's Administrator Account, which works fine to connect to SSAS Server through SSMS.
I created SSAS Project using Workspace Server and connection is successful.
I am also able to connect to same Server using SQL Server Database Data Source, using Impersonate Service Account, but after I select the tables I need, the processing fails and gives me this Error:
Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: [DataSource.Error] Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - The wait operation timed out.).
And as result I get all tables without data, just column names.
If I create a project using Integrated Workspace, I am able to get Data from Source, but the same Error occurs when I try to Deploy the Project. The metadata deploys successfully, but all processing fails with the same Error.
I tried to Increase Timeout, but the same thing happens even after waiting 30 minutes.
This process does not fail if I create and execute the project inside the Server.
Enable the TCP/IP in both Server NetWork and Client protocols;
Set TCP port:1433;
And then try it again.
Please reference this: troubleshoot-connecting-to-the-sql-server-database-engine

Jmeter can't connect to local ms sql server

I need to connect Jmeter to my local MS SQL Server database. Everything works fine, when I'm working with remote databases, but when it comes to local databeses I get stuck at the beginning.
I've tried these settings to connect to my DB:
Database URL: jdbc:sqlserver://DESKTOP-IEK3G1S\SQLEXPRESS;DatabaseName=TestBase
JDBC Driver class : com.mircrosoft.sqlserver.jdbc.SQLServerDriver
And this is what i get:
Response message: java.sql.SQLException:
Cannot create PoolableConnectionFactory (The connection to the host DESKTOP-IEK3G1S, named instance sqlexpress has failed.
Error: "java.net.SocketTimeoutException:
Receive timed out". Verify the server and instance names, check that no firewall is blocking UDP traffic to port 1434, and for SQL Server 2005 or later verify that the SQL Server Browser Service is running on the host.)```
Well, I had to recreate my SQL Browser connection and manually shutdown everything that was turned on in my Firewall options and everything has started working.
Enable TCP/IP in the SQL server configuration:
Enable IP address and set the desired TCP port for the connection:
SQL Server default TCP port is 1433, most probably you should be using 1433 in your JDBC Connection Configuration setup
Enable SQL Server Authentication mode or add Integrated Security = true to your JDBC URL if you plan to connect with your current credentials (you will need to have sqljdbc_auth.dll file under Java Library Path)
Make sure to use matching SQL Server JDBC Driver
Change "Validation Query" to be select 1

SSIS Script Task Connect to DB2/MVS

I have a script task that needs to connect to both DB2 on LUW and DB2 on Z/OS. My understanding is that within the script task I should use an ADO.NET Connection manager.
This I have done for the DB2 on LUW connection using the Microsoft OLE DB Provider for DB2 and can connect just fine. Using that as a guide I am trying to create a connection manager for DB2 mainframe, almost identical except for server name / port number and DBMS platform properties. I've tried every which way to get a connection to Db2 on Z/OS and wind up with an error "Test connection failed because of an error in initializing provider. The request for the host resource failed."
I can define an OLEDB connection manager and connect via its "test connection" but cannot use in script task.
Any thoughtss most welcome,
Phil Jackson

Cannot connect to sql server 2008 using JDBC

I have tried all the methods to connect to the server.I am using sql server 2008 on mixed authentication mode.I can login via the sql server management studio using the sa login.But when I try accessing the same db from my java program I get the following error:
SQL Exception: com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'sa'. ClientConnectionId:191d94bb-a55e-47a0-bb9f-b84638313cf4
This is my connectionstring:
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
String connectionUrl= "jdbc:sqlserver://localhost;databaseName=Northwind;user=sa;password=sa;";
I have accessed my database in the same way. One of my problems were that I hadn't enabled the port and IP for the database. Check these options in SQL Server Configuration Manager. Hope this helps =)