I am trying to connect a database on Kubernetes (remote server) and I set all the necessary connection parameters on DBeaver. However, while I can connect the same database using pgAdmin, I cannot connect using DBeaver and it gives the following error:
error
I checked many pages on the web and could not find a solution for that. I am not sure if it may be related to Driver, but I can connect to another PostgreSQL databases on my local Docker container.
Any idea to fix the problem?
Related
So I'm currently following this tutorial from DigitalOcean:
https://www.digitalocean.com/community/tutorials/how-to-build-a-graphql-api-with-prisma-and-deploy-to-digitalocean-s-app-platform
I created a postgres database hosted on digitalocean.
When I try to connect to it with the following command:
DATABASE_URL="postgresql://db:some_password#unique_identifier.db.ondigitalocean.com:25060/db?sslmode=require" npx prisma migrate deploy --preview-feature
and replace the DATABASE_URL with my personal Connection String it gives me the following error:
"Error: P1001: Can't reach database server at
app-0336e984censored29-do-user-10651-0.b.db.ondigitalocean.com:25060"
Please make sure your database server is running at
app-0336e984censored29-do-user-10651-0.b.db.ondigitalocean.com:`25060
What is going wrong? My Database is live and the link is also correct
i think that the problem is that until the app is built, there is no static IP and therefore no access to the database, see this article:
https://www.digitalocean.com/community/questions/why-managed-database-can-t-have-app-platform-as-trusted-source
i solve it by moving the migration command to the 'run' section, see image
I just wanted to enquire on an Issue, I faced during the installation of Informatica Server in my PC.
At the time of Installing the server I had to connect to Database, and in that process, I had to connect with a database named : 'infa1' but I am unable to connect to it, I have attached the Screenshots below, Hope you could help me in that matter.
In the above fig, I have issue while testing the connection. It is failing, also not sure what is the meaning of Database Address!!!
I even have the Database ready for connection.
Also yes the TCP/IP connection is enabled and password entered is also correct
I have a SQL Server deployed on Openshift Container platform, on a RHEL image. The server is accessible using the SQLCMD command from the container itself. But when I try to access the same server from outside the container/pod, I get a very strange error as below:
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Driver's SQLAllocHandle on SQL_HANDLE_HENV failed.
I am attempting this from a container which contains the client tools only. I tried to create a DSN as well. I still get the same error. A Kubernetes Service has been deployed and its pointing to the port 1433.
What am I missing? Please advise. thanks
ok. It turns out that by default a container launched in OCP does not run as a known user. This results in this error. By creating a new user, before invoking sqlcmd, this issue can be addressed.
I'm trying to look for it help in their documentation but with no luck.
Anyways, I've made a database through their OrientDB Studio for the localhost.
But I'm not exactly sure how to connect to it through console nor could I find where it is being stored :/
What I've tried and the error I'm getting:
Connect remote:localhost/testdb admin admin
Cannot change command-cache.json
Connect remote:localhost:2480/testdb
Cannot create a connection to remote server address
Connect remote:localhost/database/testdb
Cannot change command-cache.json
I have a Firebird Database (v2.5) which lives on a server with hostname "FBDEVDB". I am working on a separate server on which I have installed SQL Server to begin the process of migrating the tables and data into a SQL Server database.
I saw several posts discussing that this can be done using the Import Data feature of SSMS with an ODBC connection to the Firebird DB. So, I have downloaded and installed the Firebird ODBC Driver 64-Bit. When I went to configure my DSN I first got an error regarding a missing gds32.dll. Looking into it further, I realized I needed the fbclient.dll from the Firebird files. I've copied it over to my SQL Server machine, and now the gds32.dll error is gone, and I can tell it is TRYING to connect to the Firebird instance because if I provide an incorrect username/password it tells me my login is incorrect.
However, when I use a valid login/password, I get the following error message
I have defined the following fields in the ODBC setup
Database: FBDEVDB::C:\Firebird\MYDATABASE.FDB
Client: C:\Temp\fbclient.dll
Database Account: SYSDBA with VALID PASSWORD
What am I missing? I can not seem to find any information on what this error means.
Thank you!!!!!