At 04:29 PM 3/4/2002 -0600, you wrote:
>Hi all
>I need to know the url to connect me with the JDBC to SQL-Server the
>error that gives me it is this Log:Cannot connect to
>jdbc:JSQLConnect://monitor_ccd/database=monitor_ch202&user=ohernandez,
>reason:com.jnetdirect.jsql.u: Failed Logon:com.jnetdirect.jsql.u: Login
>failed for user ' ohernandez'.
>url:jdbc:JSQLConnect://monitor_ccd/database=monitor_ch202&user=ohernandez

Download the JDBC driver for MS SQL (free), url should like :
----<cut>-----
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
Connection cnn =
DriverManager.getConnection("jdbc:microsoft:sqlserver://10.0.0.10:1433;DatabaseName=mydb","sa","apple");
---<cut>---

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to