Hendry's "Oracle and SQL Server DBA Stuff"

Oracle and SQL Server Database Solutions for DBA's please visit http://hendrydba.com for the latest posts. Thanks

ORA-01017: invalid username/password; logon denied

Posted by Hendry chinnapparaj on April 20, 2011

got the error “ORA-01017: invalid username/password; logon denied ” when attempting to connect using a database link.  How to I resolve the ORA-01017 error?


This is specific to Oracle11g where the password is case sensitive. when you create the database link for a 11g database, make sure you provide the password in quotes


create public database link lmip connect to lmi_datamart identified by “password here” using ‘lmi1p’;

2 Responses to “ORA-01017: invalid username/password; logon denied”

  1. Ilane said

    Thank you, thank you, thank you! I had this problem with a JDBC connection and decided to try and change my password to all uppercase — and voila — I can now get a connection!

  2. Craig s. said

    I have a similiar problem, with this twist: I don’t know which user is being tried.
    Is the user name for which the login fails recorded in a log somewhere ?
    (Oracle Express, on Ubuntu 11)

    I’m installing an application that uses about 6 oracle accounts; i don’t know which
    login is failing (the application error logs are not helpful). I’ve manually
    verified the oracle login’s, so, the app. is changing something …

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: