"ORA-06413 Connection not open" ERROR and "ORA-12154 TNS could not identify the connect identifier specified" ERROR - oracle10g

I am having a hard time for connecting powerbuilder ide(12.6) to oracle database(10g xe). Can anyone provide me the step by step process to connect to oracle 10g xe database through powerbuilder database profile(O10 oracle 10g). When I tried to connect it would give connection not found error.
Also,
1)When i give (server name = host:port/apex) in the database profile, It would give connection not found error
2)When i give (server name = XE) in the database profile, It would give ORA-12154 TNS could not identify the connect identifier specified.
Please help me with this issue

Related

Has someone connected a PostgreSQL DB hosted in GCloud with Microsoft SSMS?

I have a question, I do not know how to solve it yet. Perhaps someone here has faced a similar issue.
We have a PostgreSQL DB hosted on Gcloud. We usually use a cloud proxy to connect with the database. It usually works very well!! In a nutshell the proxy connect a port from local host, to the actual DB host.
However this time, we want to connect it with Microsoft SSMS. We have not find an option where we can connect Microsoft SSMS with a DB running locally (this means connecting to a database on a port in local host).
The ultimate goal is to connect the database with Power BI. So if someone know how to connect a PostgreSQL DB hosted in GCloud to power BI that would also be very helpful!!
We have followed this tutorial:
https://www.anibalum.com.ar/2020/06/creating-linked-server-with-postgres.html
However we get the following error:
The linked server has been created but failed a connection test. Do you want to keep the linked server?
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "PAPERFLOWDB".
OLE DB provider "MSDASQL" for linked server "PAPERFLOWDB" returned message "[Microsoft][ODBC Driver Manager] Invalid connection string attribute".
OLE DB provider "MSDASQL" for linked server "PAPERFLOWDB" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified". (Microsoft SQL Server, Error: 7303)
We are using Microsoft SSMS v18.9.1

minus one error when trying to connect to database with Oracle SQL Developer

I'm trying to connect to a Postgres DB using Oracle SQL Developer. This is the datasource URL I see in an application which uses the DB:
jdbc:postgresql://10.11.12.13:5432/mydb?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory&sslmode=require
I have the correct username and password but when I try to connect I get:
Status : Failure -Test failed: IO Error: got minus one from a read call
I think this is because I don't have a SID or Service name populated. How can I find what these are?

How to update Pentaho Spoon JDBC drivers

I'm trying to connect to a postgresql 13 DB hosted on my computer using spoon.
I get the following error when trying to connect
Error connecting to database [DW] :org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database
Error connecting to database: (using class org.postgresql.Driver)
The authentication type 10 is not supported. Check that you have configured the pg_hba.conf file to include the client's IP address or subnet, and that it is using an authentication scheme supported by the driver.
org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database
Error connecting to database: (using class org.postgresql.Driver)
The authentication type 10 is not supported. Check that you have configured the pg_hba.conf file to include the client's IP address or subnet, and that it is using an authentication scheme supported by the driver.
I did some digging and that's due to an outdated JDBC driver. Can anyone help me update the driver? I have located the driver directory but the guide on the website https://help.pentaho.com/Documentation/5.4/0D0/160/030
is just crap, they require you to have a distribute-files.bat file? Which I couldn't find anywhere.
You do not have to follow all the steps. Just pasting the JAR file in the directory is enough.

How to connect an oracle form to oracle database?

I'm having trouble connecting form builder to oracle database. Every time i try to connect to database an error occurs saying ORA-12154: TNS: Could not resolve the identifier specified. I know about password and database but I'm not sure about username. How will I know my username?
The error message you saw usually comes when the Oracle Client isn't installed on your workstation. The Oracle Client will have the TNSNAMES entry that will point the Forms Builder to the right database.
As to what your username is, like Holodoc says, you'd have to ultimately talk to your DBA.

SQL30082N Attempt to establish connection failed with security reason 5

I'm getting this error when i try to connect to DB2 Database server using OLEDBConnection in Visual studio 2008 windows application developed in c#:
SQL30082N Attempt to establish connection failed with security reason 5
I'm using Microsoft OLEDB Provider for DB2. When i try to connect i am getting the above error.
I am using the below connection string for connecting to DB2
ConnectionStr = "Provider=IBMDADB2;Database="SampDB";Hostname=114.968.25.61;Protocol=TCPIP;Port=60001;Uid =testuser; Pwd=!DB2User!;";
I am 100% sure that this userid is correct. My DB2 client provider version is 8.0
In my desktop i am getting this error. but this windows application works well on all others machine. Please help me in fixing the issue.
According to Info Center, reason code 5 for SQLSTATE SQL30082N means that the UserId is missing.
I think what may be the issue (if you copied and pasted your exact connection string) is that there is an extra space after Uid.
If you're using .NET, then you may want to look at the OleDbConnectionString class. It will format and escape the connection string as needed.