I am now use mm.mysql-2.0.1-bin.jar


BTW, any mail please send to the mailing list, so that everybody shares the 
information.


Regards

fanyun



----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 14, 2000 10:01 PM
Subject: Re: Re: need help : get error while access the database





Hi,

I had the same problem. Could you tell me wich version of the driver you
downloaded?

Thanks in advance,

Christian G�ldner




|--------+----------------------->
|        |          "fanyun"     |
|        |          <fanyun2000@1|
|        |          63.com>      |
|        |                       |
|        |          14-11-00     |
|        |          14:51        |
|        |          Besvar       |
|        |          venligst til |
|        |          "Turbine"    |
|        |                       |
|--------+----------------------->
  >----------------------------------------------------------------------------|
  |                                                                            |
  |       Til:    "Turbine" <[EMAIL PROTECTED]>                    |
  |       cc:     (bcc: Christian Fleron Guldner/CFG/PBS/DK)                   |
  |       Vedr.:  Re: need help :      get error while access the database     |
  >----------------------------------------------------------------------------|







--------------------------------------------------------------------------------


>
> Thanks. I download a new one, and the problem solved.
>
> I suggest put the new mm driver in TDK?
>
> Regards
>
> fanyun
>
> ----- Original Message -----
> From: "Randall G. Alley" <[EMAIL PROTECTED]>
> To: "Turbine" <[EMAIL PROTECTED]>
> Sent: Tuesday, November 14, 2000 8:13 AM
> Subject: Re: need help : get error while access the database
>
>
> > I've had this before too. It appears to be a bad MySQL JDBC driver.
> > Go to their site and try another one.
> >
> > Check the mailing list archives for more details.
> >
> > Randy
> >
> > fanyun wrote:
> >
> > > Hi,
> > > I have the following code.
> > >
> > > public class Test extends VelocityScreen
> > > {
> > >     public void doBuildTemplate( RunData data, Context context )
> > >         throws Exception
> > >     {
> > >
> > >         Criteria criteria = new Criteria();
> > >         Vector custom = TestPeer.doSelect(criteria);
> > >         context.put("custom", custom);
> > >
> > >         // the context object has already been setup for you!
> > >         context.put ("hello", new String("Welcome To vTradEx"));
> > >
> > >     }
> > > }
> > >
> > > When  I call Test.vm, I get the following error message.  Any comment?
> > >
> > > ------------------------------------------------------------------------
> > > Get/Post Data:
> > >       template = Error
> > >
> > > The exception is:
> > > java.sql.SQLException: Communication link failure: Bad handshake
> > >         at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:278)
> > >         at org.gjt.mm.mysql.Connection.(Connection.java:230)
> > >         at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
> > >         at java.sql.DriverManager.getConnection(DriverManager.java:517)
> > >         at java.sql.DriverManager.getConnection(DriverManager.java:177)
> > >         at org.apache.turbine.util.db.adapter.DB.getConnection(DB.java:154)
> > >         at
> 
>org.apache.turbine.util.db.pool.ConnectionPool.getNewConnection(ConnectionPool.java:348)
>
> > >         at
> org.apache.turbine.util.db.pool.ConnectionPool.getConnection(ConnectionPool.java:273)
>
> > >         at
> 
>org.apache.turbine.services.db.PoolBrokerService.getConnection(PoolBrokerService.java:285)
>
> > >         at
> org.apache.turbine.om.peer.BasePeer.executeQuery(BasePeer.java:1126)
> > >         at
> org.apache.turbine.om.peer.BasePeer.executeQuery(BasePeer.java:1078)
> > >         at org.apache.turbine.om.peer.BasePeer.doSelect(BasePeer.java:1012)
> > >         at com.vtradex.om.peer.TestTablePeer.doSelect(TestTablePeer.java:86)
> > >         at com.vtradex.om.peer.TestTablePeer.doSelect(TestTablePeer.java:74)
> > >         at com.vtradex.screens.Test.doBuildTemplate(Test.java:30)
> > >         at
> 
>org.apache.turbine.modules.screens.VelocityScreen.doBuildTemplate(VelocityScreen.java:118)
>
> > >         at
> org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.java:123)
>
> > >         at org.apache.turbine.modules.Screen.build(Screen.java:100)
> > >         at
> org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:125)
> > >         at
> 
>org.apache.turbine.modules.layouts.VelocityECSLayout.doBuild(VelocityECSLayout.java:106)
>
> > >         at org.apache.turbine.modules.Layout.build(Layout.java:93)
> > >         at
> org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:122)
> > >         at
> org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:170)
> > >         at org.apache.turbine.modules.Page.build(Page.java:92)
> > >         at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:122)
> > >         at org.apache.turbine.Turbine.doGet(Turbine.java:366)
> > >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >         at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
> > >         at org.apache.tomcat.core.Handler.service(Handler.java:263)
> > >         at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
> > >         at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
> > >         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
> > >         at
> 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
>
> > >         at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
> > >         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> > >         at java.lang.Thread.run(Thread.java:484)
> > >
> > > java.sql.SQLException: Communication link failure: Bad handshake
> > >
> > > ------------------------------------------------------------
> > > To subscribe:        [EMAIL PROTECTED]
> > > To unsubscribe:      [EMAIL PROTECTED]
> > > Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> > > Problems?:           [EMAIL PROTECTED]
> >
> >
> >
> > ------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> > Problems?:           [EMAIL PROTECTED]
> >
>
>
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>
>
>




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to