Hiya Tim,

If you're using MySQL theres no need for you to use the ODBC driver, get the
mm.mysql driver here:

http://mmmysql.sourceforge.net

you should find everything you need to set it up.
Its a type 4 driver which will give you better performance, plus it doesn't
have the threading problems of the jdbc:odbc driver.

cheers,

Paul

-----Original Message-----
From: Wo [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2001 19:37
To: [EMAIL PROTECTED]
Subject: mysql connect problem


Dear all,

i am trying to connect to mysql server. Is it necessary to name the sql
server as an odbc data source? i have tried but i do not know what to put in
the field "what sql server"? how do i find out what to put in that field. I
can already connect to an access database so it just involves renaming
"jdbc:odbc:...." but i really do not know how to set the field for mysql
server??

Is there any other way to connect to mysql besides
driver.getconnection("jdbc:odbc:database_name")?

Tim

===========================================================================
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to