2 messages in com.mysql.lists.javajava(jdk1.2 for linux) - mysql| From | Sent On | Attachments |
|---|---|---|
| Geocrawler.com | 05 Jul 1999 07:20 | |
| Christian Mack | 15 Jul 1999 13:02 |
| Subject: | java(jdk1.2 for linux) - mysql![]() |
|---|---|
| From: | Geocrawler.com (arch...@db.geocrawler.com) |
| Date: | 07/05/1999 07:20:36 AM |
| List: | com.mysql.lists.java |
This message was sent from Geocrawler.com by "Shin Hyunil"
<cool...@nownuri.net>
Be sure to reply to that address.
Hi. I'm Korean boy.. I test JDBC with mysql and java2.0(jdk1.2). Driver is twz1(ver 1.0.4).
My source ::
--------------------------------------------------------------------- import java.sql.* ; public class test1 { public static void main(String [] argv) { Connection con ; try { Class.forName("twz1.jdbc.mysql.jdbcMysqlDriver"); System.out.println("Loading driver.....");
} catch(Exception e){System.out.println(e);}
try { String url = "jdbc:mysql://202.31.137.227:3306/test"; DriverManager.registerDriver( DriverManager.getDriver("twz1. jdbc.mysql.jdbcMysqlDriver")); System.out.println("......"); con = DriverManager.getConnection(url,"coolrock","odyssey");
System.out.println("OK") ; }
Result ::
----------------------------------------------------------------- Loading driver..... No suitable driver 0
I don't know....how Thank you..
Geocrawler.com - The Knowledge Archive




