Questions tagged [connectivity]
Establishing a connection to a database or database server.
393
questions
1
vote
2
answers
46
views
Can't connect to named instance from remote server
I have researched a lot on this issue but can't seem to find a solution for it. I have a named instance created on a server but I can't connect using the Servername\InstanceName.
I am using SQL ...
0
votes
1
answer
15
views
MySQL Drop Federated Table When Remote Server is Down
We have a production database (MySQL 8.0) that has a federated table in it. The remote server had an IP address update, and whenever a client opens this DB, it takes forever (~5 minutes) since table ...
0
votes
0
answers
38
views
Monitor connectivity from SQL Server to other data sources
I am MSSQL Server Database Administrator. I work in a BI Team and manage an operational data store too. For data sources which their RDBMS is MySQL we have linked server to connect.
Sometimes the ...
2
votes
2
answers
495
views
Connecting to SQL Server Named Instance Without Specifying Instance Name
I've been working with SQL Server and its instance types - default and named. My understanding has always been that to connect to a named instance, it's necessary to specify the instance name. However,...
0
votes
0
answers
35
views
Cannot connect to PostgreSQL DB over a Virtual IP (VIP)
I am running a PostgreSQL DB Server v12.16 on an Ubuntu 20.04 virtual machine.
When I attempt to connect to DB directly from host, it WORKS!
When I attempt to connect to DB via the VIP, it DOESN'T ...
0
votes
1
answer
80
views
PostgreSQL to MS SQL Server bridge/gateway
We have an application that only supports PostgreSQL as a backend, but we have our whole infrastructure already setup with SQL Server, and we would like to keep using it instead of having new ...
0
votes
0
answers
17
views
Is it possible to analyse session aborts from the Microsoft SQL Server side?
We see SQL session aborts on some clients. In most cases it is a real network problem (VPN/WLAN/Internet Connection).
Is it possible to see any reason code on the server side, when a session aborts?
I ...
0
votes
0
answers
31
views
Linked server failed
I'm trying to set up a linked server, but it still fails and gives an error:
Error: Microsoft ODBC Driver 17 for SQL Server : SQL Server Network Interfaces: Error Locating Server/Instance Specified [...
0
votes
0
answers
175
views
How to connect to a postgreSQL database hosted locally on my PC from google colab?
I'm trying to connect to a postgreSQL database on my PC from google colab. I'm using sqlalchemy to attempt this. I have a table named mdl_assign_grades which I'm trying to access. Here's my code:
from ...
1
vote
2
answers
61
views
How is cassandra 9042 port used in the context of lsof command?
I am trying to identify who is making connection to cassandra instances in my environment. The machine has ip 172.31.44.23. I ran the command sudo lsof -i -n -P | grep 9042 | grep ESTABLISHED | awk ' ...
4
votes
3
answers
418
views
Named instance throwing error 26 and won't connect
I've installed 3 new named SQL Server 2019 instances on a standalone server. The named install seems to have defaulted to computername\network name. Ex: BHMDB06\sseprod. During the install I had it ...
2
votes
1
answer
994
views
SSMS cannot connect to SQL Server 2022 - Internal Error
I'm trying to connect (on the same host) from SSMS 19.0.2 to a newly installed SQL Server 2022 developer edition instance. I am getting a weird internal error:
===================================
...
0
votes
2
answers
226
views
Oracle sqlplus doesn't connect to remote DB, only local
I would appriciate some help with an issue that I'm facing.
I have two Oracle DB servers with same schemas. I want to run sqlplus from one server to another. I've added the tns_names entries in ...
1
vote
0
answers
79
views
Windows authentication on remote client accessing SQL Server 2022 with SSMS [duplicate]
I have installed SQL Server 2022 on Windows Server 2019 Datacenter, and applied the March SQL Server 2022 Cumulative Updates. Also installed on the server is SSMS 18.12.1 and 19.0.2.
On a remote ...
0
votes
0
answers
36
views
Why would one of our linux VMs have a lag in connecting to PostgreSQL and not the others?
We have several VMs connecting to multiple PostgreSQL database servers. All but one VM connect instantly to all of the database servers, while our newest VM sometimes has a noticeable (1-2 seconds) ...
1
vote
1
answer
637
views
Connection rejected on MySQL server (error 10060)
I have a small database on a server in my LAN that I try to access remotely via ODBC.
Currently, I am making a program in Visual Basic to access, retrieve and display data from the server to an Excel ...
0
votes
1
answer
99
views
How to change user-agent/application name when connect to PostgreSQL?
I use AWS RDS, and there is top application tab in perfomance insight like below sceenshot
TablePlus is a SQL client that I used. If I run query using that app, it shows TablePlus in that tab. But if ...
1
vote
1
answer
30
views
What happens if you cancel a job with multiple statements?
If I have a SQL script with multiple Update statements in series. What happens if query device goes offline after completing half the Update Statements?
Does it rollback the currently executed Update ...
0
votes
0
answers
42
views
One of 2 domain servers went down and now I can't connect to SQL Server on the other
I have:
2 AD Domain controllers - one running Windows Server 2008r2 and the other Windows Server 2016.
FSMO roles are all on the Windows Server 2008r2
Windows Server 2016 is only online during a ...
3
votes
1
answer
3k
views
cannot connect to SQL Server using local 127.0.0.1 address unless the login user has sysadmin role
problem
i am trying to connect to the server using Microsoft ODBC Driver 17 for SQL Server through sqlcmd setting the -S (server) option pointing at 127.0.0.1,1434. i have confirmed this is the ...
3
votes
1
answer
3k
views
MariaDB Aborted connection events
A windows server (2022) has MariaDB 10.4 running on it. In the Event Viewer for Windows logs > Application there are two events that happen every minute:
Aborted connection ### to db: 'unconnected' ...
0
votes
1
answer
3k
views
SQLSTATE[HY000] [2002] Connection refused when trying to initiate connection via Dockerfile's CMD
I'm trying to run a Docker container based on:
PHP 8.1
Apache 2.4
MariaDB (latest official docker image)
Dockerfile:
FROM php:8.1-apache
WORKDIR /var/www/html/
RUN pecl install xdebug \
&&...
0
votes
1
answer
2k
views
Unable to connect with JDBC after MySQL upgrade from 5.7 to MySQL 8.0
We use java application client to transfer database table data to a third party server. With MySQL 5.7 it was working fine. After upgrade to MySQL 8, it started to show errors. First thing we did was ...
0
votes
1
answer
122
views
Universal Data Link Does not have MFA Option on Windows 10/11
In looking at the documentation Universal Data Link (UDL) configuration (V2022/2019 & 2016), it says I can use a UDL file to attempt an Active Directory - Universal with MFA support: type login ...
0
votes
1
answer
2k
views
DBeaver error returned connecting to Db2 database using SSL/TLS with hostname validation error
I have configured SSL/TLS on Db2/Linux v11.5.7.0. In DBeaver 22.1.5 (Java GUI program to access database) in Driver properties I have configured parameter:
sslConnection to true and DBeaver ...
0
votes
0
answers
104
views
Connection Error while connecting SQL Server from KNIME using SQL Server connector in KNIME
We are trying to connect KNIME to SQL SErver, but getting an error :
Can someone help with the fix for this.
Error : Establish a secure connection to SQL Server by using Secure socket layer (SSL) ...
0
votes
0
answers
104
views
How to connect to Oracle 9i through SSH tunnel if TNS protocol issues a REDIRECT to a random port?
Inspecting packets exchanged between SQLDeveloper and Oracle 9i I noticed that, in the beginning of the connection negotiation, the server issues a REDIRECT back to the client, pointing a port ...
0
votes
0
answers
215
views
How do I connect to mysql database with password
Using PHP 7.4.27 (now using 7.4.29) with MariaDB in xampp
I can access everything using phpmyadmin. I am using the following on my localhost
$con = new mysqli($host, $user, $pwd, $db);
I can connect ...
0
votes
1
answer
2k
views
Can NOT establish connection from db2 client to db2 server v11.5
I installed Db2 v11.5.7.0 on Linux/x86_64 inside my virtual PC using VirtualBox on Windows 10.
I created database with name TEST1
I connected to database using Unix socket:
db2 connect to TEST1
and ...
0
votes
1
answer
74
views
XE ucs package events
Can anybody explain for what purposes exists ucs package {C0AB75C5-B1EA-445B-B7DF-F897686F94E7} "Extended events for Unified Communications Stack"
I have tried to catch some events like ...
2
votes
1
answer
1k
views
SQL Server Profiler - Client unable to establish connection
Spanking brand-new installations of:
Visual Studio 2022 Community (VS)
SQL Server 2019 Dev (SQL)
SQL Server Management Studio v18.10 (SSMS)
There are no other Visual Studio or SQL Server instances ...
1
vote
0
answers
269
views
Windows Suspending PostgreSQL Process
Scenario:
Customer’s system
VM running Windows Server Standard 2019, 16GB RAM, Intel Xeon Gold 5122 @ 3.6GHz (2 processors 4 virtual processors)
PostgreSQL starts and runs fine for 5 minutes - 2 ...
0
votes
0
answers
1k
views
sqldeveloper ORA-12505. TNS: listener does not currently know of SID given in connect descriptor, and restart oracleSersvice XE not working for me
I have been confused for a few days; I tried many ways but they did not work.
Here are my tnsnames.ora and listener.ora. please help me out.
tnsnames.ora:
# tnsnames.ora Network Configuration File: C:\...
0
votes
2
answers
1k
views
How to connect to Oracle RAC from HOST
For a college project, I have to set up a RAC Instance and an application, I already managed to configure my RAC lab by using virtual machines by using this video guide, now I just need to program an ...
3
votes
3
answers
2k
views
Can connect to virtual MySql instance using 127.0.0.1, but not localhost
Running MySql 5.7.33 on a local VirtualBox instance. I have forwarded port 3306 from the virtual server to be accessible locally. On my virtual host, I have this in my /etc/mysql/my.cnf file ...
[...
2
votes
1
answer
3k
views
How can I change the RSA key length from 1024 to 2048?
SQL Server Environment:
OS version: Windows 2012 R2
Microsoft SQL Server 2014 (SP3-CU4-GDR) (KB4583462) - 12.0.6433.1 (X64)
Instance type: Named instance
When I am attempting to connect from a Docker ...
2
votes
1
answer
283
views
Official documentation for all connection string parameters
I've been hunting for this information for years now but I don't seem to be able to find it:
Is there any documentation available on learn.microsoft.com providing a table with all valid connection ...
0
votes
1
answer
794
views
Remote computer can't connect to instance with backslash
We are migrating two instances of SQL Server 2008 on a Win7 machine to SQL Server 2019 on a Win10 server. The old server had two instances: 123.123.123.123 and 123.123.123.123\ABC. We had no ...
1
vote
1
answer
598
views
Cannot connect to remote instance
I try to connect to a remote windows server that has a SQL Instance running using SQL Authentication via my local SSMS and this the error I get:
Cannot connect to 123.123.123.123\WIN-ODF1AGSBGZ
A ...
0
votes
0
answers
3k
views
PostgreSQL 'server closed the connection unexpectedly' when using the hostname (Azure VM)
I have a Postgres instance running on an Azure VM, which is inside an Azure Virtual Network, and the VM has a hostname. Connecting with PostgreSQL using the IP address works, but when I try to ...
0
votes
1
answer
1k
views
Linked server only works if I am on the machine itself. I can't use it from my local computer. what is missing?
I have a few queries that I use to monitor log shipping. Sometimes I want to run those queries on a different server. I usually do that through a linked server.
I have a server called SQLDEV4-TS that ...
2
votes
1
answer
3k
views
Are postgres connection able to manage multiple requests at the same time?
I have an application using node Postgres driver to connect to my Postgres 12.
The pool size is currently 1.
Is it possible, for one connection, to have multiple requests sent before receiving the ...
1
vote
0
answers
88
views
Testing SQL connections with UDL file
I am testing SQL connectivity between a SQL server (windows server 2000) and client PC that has no SQL tools installed (windows 2000 SP4). The client PC runs a java application that needs to connect ...
0
votes
0
answers
53
views
SQL connections to java applications
I have an MSSQLServer2000 database that seems to have been working just fine until today. The DB connects to a java application on a remote server that passes the database data (login credentials, ...
0
votes
0
answers
996
views
SQLSTATE[HY000] [2002] Connection refused with multiple connections
I am using Laravel 8.33.1 and mysql Ver 8.0.23-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu)) on my Ubuntu 20.04.1 LTS vps.
As during development I also need to access data from my production db. ...
0
votes
0
answers
602
views
PostgreSQL remote connection failing
I've recently installed PostgreSQL on my PC as a requirement for my DB class, and as a practice, I decided to try and setup a remote connection for it so I can access it via online services. But after ...
1
vote
0
answers
1k
views
How to configure the client certificate in Power BI desktop to authenticate with mutual TLS
I am trying to connect to a private data source from Power BI desktop. Data source has its own trusted root authority. I created my personal certificate and private key signed by this root CA. I ...
-1
votes
1
answer
406
views
Database not showing
I create a database in the terminal linux ubuntu,gave it all privileges,created the table,inserted the rows.When I open phpmyadmin the database isn't showing how do I connect them?
I did use mysql -u ...
1
vote
1
answer
4k
views
Can Microsoft JDBC Driver 4.0 connect to SQL Server 2019 and perform DML without issue?
The SQL version compatibility BOL article advises that the minimum compatible JDBC driver version for SQL Server 2019 is 7.4.
Can an older JDBC driver still connect to SQL Server 2019? Or can only the ...
1
vote
2
answers
486
views
How to script server level objects in sql server?
I regularly do sql server installations (mainly sql server 2016), in virtual machines or otherwise, and I have a bunch of things like permissions, and linked servers and endpoints that I have mostly ...