Reputation: 671
Client and Server machines are under Domain. I am trying to connect orace db using SqlPlus tool. I am getting
ERROR:
ORA-01017: invalid username/password; logon denied
though username and pwd is right.
Connect Command :
SqlPlus DomainName\UserName/passowrd@school
Database address in tnsnames.ora
school =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = machinename)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = PRD)
)
)
Is there any wrong in database address? Way of connect?
Thanks in Advance
Upvotes: 0
Views: 4226
Reputation: 27261
There is no need of specifying DomainName in front of a username in sqlplus to connect to an instance.
sqlplus username/password@connect_identifier
Also check these options
NAMES.DEFAULT_DOMAIN
in sqlnet.ora
computername.domain
) in tnsnames.ora
Upvotes: 3