java - OJDBC connection with NetBeans -
i'm trying establish new connection oracle database ojdbc7 driver , when "customize connection" step, following message:
cannot establish connection jdbc:oracle:thin:@localhost:1521:xe using oracle.jdbc.oracledriver (ora-01017: invalid username/password; logon denied
)
can explain do? tried putting in different formats of username , password, tried stopping , starting database again (express edition 11g), couldn't find on web...
oracle has detailed tutorial on how setup connection netbeans oracle express edition
https://netbeans.org/kb/docs/ide/oracle-db.html
you can connect using existing users, if want create new user need directly in database
regardingthe jdbc url sintax here example
jdbc:oracle:thin:@//localhost:1521/xe, username = sys , password = 123456
Comments
Post a Comment