Results 1 to 2 of 2

Thread: HSQL starten

  1. #1

    Title
    Elite
    Join Date
    Oct 2007
    Posts
    398
    Thanks Thanks Given 
    14
    Thanks Thanks Received 
    2
    Thanked in
    2 Posts

    HSQL starten

    Hab mich genau an die Anweisungen gehalten, die im PDF zum Starten der HSQL DB stehen.

    Bekomme jedoch folgende Fehlermeldung, kann mir da jemand helfen?

    java -cp lib/hsqldb.jar org.hsqldb.Server -database.0 mydb -dbname.0
    tutorial

    java -cp lib/hsqldb.jar org.hsqldb.util.DatabaseManager

    Dann stell ich ein HSQL Database Engine Server, jdbc:hsqldb:hsql://localhost/tutorial

    Oder wie muss ich das einstellen!?

    java.sql.SQLException: socket creation error
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
    at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
    at org.hsqldb.jdbcDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at org.hsqldb.util.ConnectionDialog.createConnection( Unknown Source)
    at org.hsqldb.util.ConnectionDialog.actionPerformed(U nknown Source)
    at java.awt.Button.processActionEvent(Unknown Source)
    at java.awt.Button.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

  2. #2

    Title
    Principal
    Join Date
    Oct 2007
    Location
    Wien
    Posts
    67
    Thanks Thanks Given 
    15
    Thanks Thanks Received 
    6
    Thanked in
    5 Posts
    In dem HSQL Database Manager musst du

    HSQL Database Engine Server auswählen

    als Treiber

    org.hsqldb.jdbcDriver

    eintragen

    und als url

    jdbc:hsqldb:hsql://localhost/<<DeineDatenbank>>

    eintragen.

    Username und Passwort so belassen wie sie sind.
    One never notices what has been done; one can only see what remains to be done. - Marie Curie

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •