Tableau connection error with database - sql

I am facing the below error while connecting Tableau with oracle database.
below is the screenshot for reference :
please suggest steps to fix this.I am very new to Tableau and database things.

You need to make sure that connection information with Oracle Database is correct, which includes host name, port name, username and password. Above this you should make sure your server is up and running

Related

why do i receive an errorcode when i RUN SQL on Db2

Please, can someone help me solve this issue i am with my IBM Db2 account. when i run SQL, it shows [jcc][t4][2013][11249][4.26.14] Connection authorization failure occurred. Reason: User ID or Password invalid. ERRORCODE=-4214, SQLSTATE=28000 . I have tried changing password, logging out and back in but its still the same.
Which tool are you using to run SQL against Db2? How did you configure the connection in the tool? Are you able to connect to the Db2 before you ran the SQL?
Also, check if you use any special characters in your credentials for your Db2 account, if you do, try to avoid that.

Cannot connect SQL Server with instance - SSMS

I have a very strange and very frustating problem:
I'm trying to connect to an remote SQL Server Database, and i gotta some errors, like:
I've tried to connect to an specific remote SQL that has only one instance (SQL Server 2008). When i use the correct connection string, with server address and instance name, o get the following error:
But when i remove the instance name, it works:
Calling with customer's service from this server, they said that this server has only one SQL, so it allows you to connect without instance.
But my real problem is that i'm trying to connect to another server that has more than only one instances of SQL, so i'm getting the same old error:
And if i remove the instance, i get login error, cos my user and passwd was not found at default sql server.
I have tried several changes:
I've changed my Management Studio from 2017 to 2014.
I've formatted my computer last night, trying to solve this problem,
but i still got the same errors
I've asked to some friends to connect to this same server, exacly
the same way that i'm trying, and they sucessfully connected.
I really dont know what I'm doing wrong. Somebody knows how to help?
Thank you.

SQL developer- the network adapter could not establish the connection

I am new to oracle database and i was trying to set up SQL developer.After installation when I open it and make a new connection it gives me "IO error: the network adapter could not establish the connection".I tried to look up for the solution everywhere but nothing worked.Can someone please explain me in detail hoe to fix this thing?
You have installed SQL Developer, the client.
It's effectively limited to working with files and offline data models.
If you want to do database work, you need a database.
Here's your options for getting started.
You have to start the listener with
lsnrctl start

oracle log on denied in 12c

I am getting this error message while logging on to database. I have uploaded the screenshot also. Please tell me what can be the issue?
I believe the default SYSTEM password is manager password, not system.
Probably, you have created your database along with CREATE AS PLUGGABLE DATABASE option. Thus, Oracle doesn't know of the database you actually want to connect to.
Include the required and correct service_name/database_name to connect to the CDB/PDB respectively.
In your case, the ORACLE_SID might be pointing to the CDB, thus you successfully connected via / as sysdba. Try with the following -
conn system#database_name/password
Make sure you have edited the tnsnames.ora to add the required details post installation.
UPDATE OP mentioned in the comment that he created with the PDB option.
If you want to connect to the CDB/PDB, please explicitly mention the container/pluggable database name. Please read Oracle 12c Post Installation Mandatory Steps.

Start Oracle SQL Developer

I have been trying to figure out how to start with Oracle SQL, but I can't get the "Connection" to work. I'm not sure what the (connection name, username, password, etc.) fields are.
If I want to create a small database on local host, why do I need to connect in the first place.
I searched Google but still can't get it to work. Any help is appreciated.
ERROR MESSAGE: IO Error: The Network Adapter could not establish the connection
SQL Developer is just a client utility that lets you connect to an existing database. It sounds like you don't have a database to connect to yet. If that's the case, you'd either need someone to create a database on another machine for you or you'd need to download the database software on to your local machine and create a database to connect to. You can download the Oracle database from the Oracle Technology Network, the same place you downloaded SQL Developer from. I would guess that you would want to download Oracle 11.2 Express Edition.
Alternately, you may want to download one of the VMs that Oracle has put together that has a lot of related software installed for you to use. For example, this VM has SQL Developer, Oracle 12.1, APEX, XML DB, and a number of labs already installed for you.
Oracle SQL Developer is a tool to ACCESS existing database, you cannot create new database here. The connection is used to define where your existing database sits and how to connect to it. So you need to name you connection (bookmark), provide host name, where database runs and user name plus password to identify yourself.