Hi all,
I previously posted a similar question, and although some peoples comments did
help, I still haven't got the database connecting properly

i'm running jserv on a linux machine, and it needs to make a database
connection to an NT machine which is running access.

if i'm running the servlet on the same machine as the database this url works
fine:
jdbc:odbc:AccessDatabase

I'm not sure of the correct formatting for a remote connection. The IP of the
NT machine is 192.168.1.21 - i've tried several different url strings:
jdbc:odbc://192.168.1.21/AccessDatabase (just one of them)
I probably need to specify the port - does anyone know what port an access
database would run on??
say it is 4333: would this url work
jdbc:odbc://192.168.1.21:4333/AccessDatabase
or is it something like
jdbc:odbc:168.168.1.21:4333\AccessDatabase
??
if anyone has this working for an access database, can you please send me the
url string that is being used in the servlet!!!

thanks - help would be extremly appreciated
Rob




____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to