cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
255
Views
0
Helpful
1
Replies

CWSI Campus RME 2.2 (Sol): testdbconn problem:

vbaronov
Level 1
Level 1

./testdbconn

DriverManager.getConnection("jdbc:odbc:cwsi")

trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,context=null,sun.jdbc.o

dbc.JdbcOdbcDriver@1dc60809]

*Driver.connect (jdbc:odbc:cwsi)

JDBC to ODBC Bridge: Checking security

No SecurityManager present, assuming trusted application/applet

JDBC to ODBC Bridge 1.1001

Current Date/Time: Mon Jun 23 10:17:29 GMT 2003

Loading JdbcOdbc library

Allocating Environment handle (SQLAllocEnv)

hEnv=1016288

Allocating Connection handle (SQLAllocConnect)

hDbc=1049920

Connecting (SQLDriverConnect), hDbc=1049920, szConnStrIn=DSN=cwsi;UID=cwsiSA;PWD

=cwsiPWD

RETCODE = -1

ERROR - Generating SQLException...

SQLException: SQLState(08001) vendor code(-87)

java.sql.SQLException: [Sybase][ODBC Driver]Unable to connect to database server: database name required to start engine

1 Reply 1

rmushtaq
Level 8
Level 8

reinit the db and then run this script again (reinit will remove all data from the db).

Review Cisco Networking for a $25 gift card