Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JDBC:ODBC connection, workgroup user & database password

81 views
Skip to first unread message

Thomas Mayer

unread,
Jul 30, 2010, 5:12:04 AM7/30/10
to
Hi,

my mdb database is secured with a mdw-file and a database password. Now I
have problems to create a odbc connection string that includes both
passwords. Any ideas how that can be done ?

e.g.:
Driver={Microsoft Access Driver
(*.mdb)};DBQ=myaccessdb.mdb;Uid=myuser;Pwd=mypassword;SystemDB=myworkgroup.mdw;

that works perfectly when there is no additional database password on the
mdb file. But I need that password. Is there any way to add the database
password in the odbc connection string as well ?

Greetings, Thomas


David W. Fenton

unread,
Jul 30, 2010, 1:50:23 PM7/30/10
to
"Thomas Mayer" <thomas...@quarkchess.de> wrote in
news:i2u516$575$03$1...@news.t-online.com:

Everything you need to know here:

http://www.connectionstrings.com/access

Note, though, that database passwords are basically nothing but
"security theater" and really serve no useful purpose whatsoever.

--
David W. Fenton http://www.dfenton.com/
contact via website only http://www.dfenton.com/DFA/

Thomas Mayer

unread,
Jul 30, 2010, 5:53:40 PM7/30/10
to
Hi David,

first of all, thanks for the answer - well, I know that site, but the
connection string provided there doesn't work. It seems that it is simply
not possible to have both, workgroup password and database password in an
odbc connection string. I really couldn't believe it but seems to be true.
So no way to connect to that database with Java... Anyone another idea ?!

Greets, Thomas

"David W. Fenton" <NoE...@SeeSignature.invalid> schrieb im Newsbeitrag
news:Xns9DC58864579ADf9...@74.209.136.98...

David W. Fenton

unread,
Jul 31, 2010, 3:43:17 PM7/31/10
to
"Thomas Mayer" <thomas...@quarkchess.de> wrote in
news:i2vhli$enj$02$1...@news.t-online.com:

> first of all, thanks for the answer - well, I know that site, but
> the connection string provided there doesn't work. It seems that
> it is simply not possible to have both, workgroup password and
> database password in an odbc connection string. I really couldn't
> believe it but seems to be true. So no way to connect to that
> database with Java... Anyone another idea ?!

I don't know that ODBC supports database passwords.

But, again, database passwords are a massive waste of time, and you
shouldn't be using them in the first place.

0 new messages