Questions tagged [connectivity]
Establishing a connection to a database or database server.
375
questions
0
votes
0
answers
27
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
107
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
29
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
136
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
58
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
69
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
190
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
325
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
439
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 ...
1
vote
1
answer
64
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 docs.microsoft.com providing a table with all valid connection ...
0
votes
0
answers
104
views
psql connects to AWS RDS instance for co-worker, but not for me
We're on an EC2 VM (the same EC2 VM on the same subnet as the RDS instance) running vanilla PostgreSQL 12.5, and using psql to connect to an AWS RDS PostgreSQL 12.5 instance.
My co-worker and I run ...
0
votes
1
answer
127
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
108
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
1k
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
262
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 ...
1
vote
1
answer
850
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
29
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
37
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
355
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
186
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
578
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 ...
0
votes
1
answer
16
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
2k
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
200
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 ...
1
vote
1
answer
3k
views
Not authorized on test to execute command
Here is my code:
mongoose.connect(consts.database, {
useNewUrlParser: true,
useUnifiedTopology: true,
sslCA: consts.databaseCert,
});
//...
const user = await db.userModel.findOne({
...
0
votes
1
answer
54
views
Trying to connect two SQL Server databases
I have been trying to connect to a SQL Server instance. When I use the IP address, it connects. But when I use the server name, it doesn't. The main reason why I need to use the name is because I want ...
0
votes
2
answers
1k
views
The listener supports no services - 2 databases on oracle linux 7
I'm running two 12c R2 databases on linux oracle 7.9
I've installed the first database (CDB) and also a listener and both of them were running fine. Then, I've installed another 12c R2 database (CDB2) ...
1
vote
1
answer
189
views
SQL Native Client Upgrade
Application server for CRM has SQL native client 2008 version installed. I have installed SQL native client 2012 side by side as need to connect to an sql availability group listener. How do I get the ...
0
votes
0
answers
86
views
Postgres: Allowed connections from any ip but still can't connect from Github Actions
I'm having some trouble setting my Postgres database to allow connections from all origins, specifically I can't seem to get my API to connect to it while running Github Actions for testing purposes.
...
0
votes
1
answer
36
views
MV on remote/master table fails to resume syncing (after master db host was temporarily unreachable)
I have a fast-refresh materialized view in a target db (18c) that syncs from a remote table/master db (19c):
--master db (19c)
create materialized view log on master.workorder with primary key;
--...
1
vote
1
answer
1k
views
Query to Linked Server Ignores Configured Timeout Connection
I need to know where to set the timeout for a login or a query to a linked server. If the server is down I don't want to waste too much time waiting for a timeout. (Our servers are on the same network ...
2
votes
2
answers
794
views
SQL Server Connection Problem
I'm completely stuck on a connection problem that we're experiencing for users connecting to our SQL Server instance from a particular domain using a particular application. The error that we're ...
0
votes
0
answers
22
views
mysql contacts wrong ip
I setup my MariaDB on my virtual machine and I can successfully connect to it locally.
I can ping the machine too. However, when I contact via the host machine, I do not understand why instead of 192....
0
votes
1
answer
739
views
The connection is no longer usable because the server response for a previously executed statement was incorrectly formatted
One of our application AX2013 is connecting to our DB's in an Availability group spanning three SQL2016 nodes.
End users are getting some error in the application that always point to the same error ...
0
votes
1
answer
76
views
MariaDB (RDS) going temporarily offline (with memory drop)
We have an issue with a database of ours on RDS running MariaDB 10.4.8 on a t3-large instance type.
For the past week or so, it's been sporadically inaccessible with no errors I can find. During the ...
9
votes
1
answer
2k
views
PgAdmin 4 - How to connect to database using unix socket via ssh tunnel?
Even though it might sound related to this question, it isn't, because I'm intreseted in the use of unix sockets instead of TCP/IP ones.
However, I am unable to connect to a remote PostgreSQL database ...
0
votes
0
answers
299
views
Remote access problem - PostgreSQL
I'm don't know much about database management, so to enable the remote access to my postgresql db I followed some tutorials. I've updated pg_hba_conf and postgresql_conf files.
In pg_hba_conf I added ...
0
votes
1
answer
181
views
SQL Server Ubuntu server - failure: remote connection from Win 7
Our analytical lab (chemistry) has an information management system (LIMS) that uses a Microsoft SQL Server database. Technicians interact with the system through a Windows form application that is ...
0
votes
1
answer
46
views
Unknown source of high number of connections
In MySQL/Aurora I see from time to time a spike in connections number (from about 100 to 4000):
MySQL doc says:
Connections
The number of connection attempts (successful or not) to the MySQL server.
...
2
votes
1
answer
388
views
How to save database connection information when using `psql`?
I am learning to use psql to work with a postgres database on linux.
I can connect using a long connection string, for example by running:
psql postgresql://myusername:mypassword@localhost:5433/dbname
...
1
vote
1
answer
2k
views
how do I prevent my postgres connection from timing out? (python, psycopg2)
very quick one from me: I have a python script that runs continuously, keeping an eye on a postgres database. I've set up a listening channel and everytime a relevant change is made, the script gets a ...
0
votes
0
answers
43
views
Changing domain, can't connect [duplicate]
I have a server that hosts a SQL Server 2017 Entreprise Edition database. I changed domain on the server (e.g. attds.mg in fdsqq.mg).
The problem is that I can't connect my application to the database....
1
vote
0
answers
3k
views
"The client and server cannot communicate, because they do not possess a common algorithm" error
The full error message is:
System.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: ...
1
vote
0
answers
142
views
2020-07-29T07:44:29.817503Z 108716 [Note] Aborted connection 108716 to db:
We are getting continuously logs in mysql error logs
2020-07-29T07:46:56.534666Z 111536 [Note] Aborted connection 111536 to db: '' user: '' host: '' (Got an error reading communication packets)
we ...
1
vote
1
answer
971
views
Keep getting "Connected to an idle instance" in 18c when trying to connect to database
I installed Oracle Database 18c yesterday and then installed Oracle Application Express v20.1. Everything was perfect and I was able to work on Apex too.
Then I shutdown the computer and today I ...
1
vote
1
answer
159
views
Lost SQL credentials and unable to connect to SQL via SQLCMD
I have a machine running SQL 2014 but have neither the windows authentication or sa authentication details due to mismanagement of a previous support team.
Having tried logging in to SQL Management ...
0
votes
1
answer
415
views
ORA-12518 and then TNS-12560, TNS-00534 and 64-bit Windows Error: 10022: Unknow Error when trying to connect to a cdb or a pdb (Oracle 12cR1)
I am seeking for help for a problem I try to resolve for a whole week. As the title say, I try to connect to a pdb or cdb and specifically using the @ statement.
I created my instance named 'test', ...
0
votes
1
answer
55
views
SQl connection to XAMP
i am trying to connect my database to XAMP . I got this error
Warning: Use of undefined constant ID - assumed 'ID' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\Thairis\...
0
votes
2
answers
234
views
Getting Error 10054 after renaming the server
When I open SQL Server I have error 10054. Recently I changed the server name and I probably have this problem since. How can I solve it?
0
votes
1
answer
165
views
The service broker is administratively disabled
I have just restored some databases what use service broker from LIVE to staging.
it is not working and when I put a profile trace to run it only shows messages related to database id 1 and 4, ...