Re: can not connet to mysql

2002-03-12 Thread Jianping Zhu
Thank you very much for your advice. I have two more question. 1. Do i need to put jdbc driver ( mm.mysql-2.0.4-bin.jar) somewhere in my linux server? 2. I know the mysql server is running but how do i know it's accepting TCP/IP connection? Thanks again. On Tue, 12 Mar 2002, Linux Rules wro

Re: can not connet to mysql

2002-03-12 Thread Linux Rules
On Tue, 12 Mar 2002, Jianping Zhu wrote: > > > I have this following code and mysql server running. > > //Connect to MySql Server >try { > Class.forName("org.gjt.mm.mysql.Driver").newInstance(); >} >catch(Exception e){ > System.out.println("Can not get class Name

can not connet to mysql

2002-03-12 Thread Jianping Zhu
I have this following code and mysql server running. //Connect to MySql Server try { Class.forName("org.gjt.mm.mysql.Driver").newInstance(); } catch(Exception e){ System.out.println("Can not get class Name"); } try { c = DriverManager.getConnecti