Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Database not working, yet no errors reported

chamsterchamster Member Posts: 662
When i go like this:

System.out.print ("creating connection...");
conn = DriverManager.getConnection (url, "root", "code");
System.out.println (" done");

i only get the "creating connection..." part. Then nothing happens. Kind of like if the database hungs (which i'm certain it does not).

Since i'm pretty new to the DB-idea i'm very sure that it's something trivial i have missed. Is somebody bright enough to see what that could be?

Any other info from me that would help you help me? Just ask!

Kind Regards
(+46/0) 708-70 73 92
[email protected]


  • chamsterchamster Member Posts: 662
    I forgot to add - when i changed port number from :80 to :1521 i got an error message that goes:

    java.sql.SQLException: ORA-01017: invalid username/password; logon denied

    I have created a "local role" with the same name and password as i enter in the "getConnection (...)" so i guess i have missed something else. What could that be?

    Kind Regards
    (+46/0) 708-70 73 92
    [email protected]

  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    ________ // // free video tutorials and ebooks about < Delphi Objective-C C PHP Scratch C# Ruby Python MATLAB Assembly JavaScript PL/SQL R Go Visual Basic .NET C++ Java Swift Visual Basic Perl Prolog Rust Lisp F# COBOL Crystal Lua Dart FoxPro Kotlin Apex Transact-SQL Logo ML D ABAP Alice Erlang Hack Ada Clojure SAS Scala Bash Awk LabVIEW VBScript Julia Scheme Fortran /> __

Sign In or Register to comment.