Oracle database password/user invalid - oracle

I am trying to connect to oracle instance. I succeed in SQL developer with the same account and password, but when i try in intellij it gives me ORA-01017 Invalid Username/Password.
Also please note that i succeed in connection in SQL Developer only if i choose to connect as dba for that USER. password and account is not wrong for sure..

According to the Oracle Database JDBC Developer's Guide you have
set the internal_logon connection property to SYSDBA or SYSOPER.
IntelliJ IDEA offers this in the "Advanced" Tab
To get the properties pre-filled here, you have to select or maybe even download a driver to use. (It's offered in the "General" tab on the bottom.)

Related

Unable to create new connection in Oracle SQL Developer

I'm new and just started Oracle. I installed Oracle SQL Developer[Version: 19.2.1.247] and now I want create new connection but I'm not able to create and found an error like :
Status : Failure -Test failed: ORA-01017: invalid username/password; logon denied.
I am sure about I didn't made a mistake into entered wrong or incorrect credential. if I am so please tell me about that and also tell me the solution to solve this error.
check attachment below.
Well your error message is straight forward. The connection details (username & password) are incorrect. The solution for this error is simple --> enter the correct credentials.
Now, you said that you have installed SQL-Developer. SQL-Developer is just a tool (program/software) used for accessing a Database. In this case, my question would be: do you have a database to which you want to connect to? Based on your screenshot, I see that you are using the default HOSTNAME/SID/PORT, meaning that you either forgot to enter your Database details or you created a username on your local Database (created when you have installed ORACLE Client and followed all those instructions).
If you are trying to connect to an already created Database, make sure that the HOSTNAME/PORT/SID are the ones belonging to the Database and not the standard one.
If you created a username on your local database, then you either forgot your password or you used some invalid characters which can no longer be used right now. Try resetting the password of that user, using another user (via ALTER USER) or using the SQL Developer (right click - Reset Password) with your old password.

ERROR: First connection sqldeveloper username and password

I have already installed sqldeveloper and i can launch SQLdeveloper client on my Linux Ubuntu 16.04 system.
The problem occurs during the first attempt of the new oracle connection from the client.
Error returned:
"I/O: The Network Adapter could not establish the connection"
I have already tryed several times to connect at the database but i still missing the username and password.
Is it possible to configure username and password for SYS/SYSTEM(or who else) user after installation?
Full stop.
You don't have a database.
Installing SQL Developer is just giving you a client you can use to work with an existing Oracle Database, which we often refer to as the 'server.'
SQL Developer is not a database.
So you need to get one.
Then you can use SQL Developer.
You have a few options. I talk about them in detail here.
SQL developer is just like the Key for Safe lock. And Database is the Safe.
So right now you have the key for Safe but doesn't have Safe.
Please get the safe first.
SQL Developer is not the Database. So Installing SQL developer will not give access to DB
Instead SQL Developer is the client side tool to retrieve the data or to do the modification on Database.
To get the database you need to download oracle DB from below link
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/oracle12c-windows-3633015.html

Vertica admintools - unable to connect to database

I use admintools from Vertica in order to trigger Database Designer. However when I execute option "Run Database Designer" from admintools menu, I've been asked to provide a password. I use password for dbadmin user however it says "Unable to connect to database". With this password I am able to connect to the database from another main menu option "2. Connect to Database". I don't get why it fails for Database Designer? Do you have any idea?
Thanks in advance
I found problem. I was using wrong password, not for pseudosuperuser user. According to doc: https://my.vertica.com/docs/7.1.x/HTML/Content/Authoring/AdministratorsGuide/Security/DBUsersAndPrivileges/DBDUSERRole.htm I should provide password for pseudosuperuser not for dbadmin.

Oracle Client set oracle home

In the Windows, I have issues in Oracle client driver, so Toad and Sql developer can't login. how to create an oracle home ? which bin path I should point to ? how to set up toad home and should point to which oracle bin ?
here is my oracle structure.
--oracle
---- client
--- 11.2.0.1
---- product
---- 10.2.0
---- 11.1.0.6
Thanks
SQL developer is self contained and comes with it's own Oracle drivers. An Oracle client is not necessary in order to make a connection.
Open the program
click on the green plus sign on the left side to create a new connection
Enter a connection name which can be anything you want
enter the username and password
select a Basic connection type to use the built in drivers
enter the machine name, port and database name in SID or service name depending on how your database was configured
click test to confirm and you are good to go
Have you tried making a new Basic connection from SQL Developer as outlined above? Visual Studio should not affect SQL developer and I'm doubtful that it would affect the database name or port.

How can I connect to an Oracle database as SYSDBA using dbExpress?

I have a Delphi application that connects to an oracle database.
When I try to log in as SYSDBA, I get the error:
ORA-28009: connection as SYS should be as SYSDBA or SYSOPER
When I try to log in with a user of "SYS AS SYSDBA", I get the error:
ORA-01017: invalid username/password; logon denied
How can I log in as sysdba using a dbExpress connection?
See also this related post regarding ADO
I found nothing specific for special dbexpress driver. But try to add a connection parameter DBA privilege with the value SYSDBA.
Connection.Params.Append('DBA Privilege=SYSDBA');
I have no delphi installed to check the concrete syntax of the parameter name. Please try using an underscore instead of the blank.
This page shows several connection strings used in certain tools to connect to oracle database.
Specify the user as "Joseph as SYSDBA" instead of Joseph
I found a checklist but not sure whether it is useful or not. Just have a look.
Checklist
connect SYS as SYSDBA;
or you can use SYSOPER
the password will be what you specified at installation (same as SYSTEM)
refer:
http://docs.oracle.com/cd/E11882_01/server.112/e10897/users_secure.htm#ADMQS12004

Resources