Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2002

    Unanswered: Communication link failure

    I'm new here!
    I have a (for anyone who knows about mysql and java) simple problem to solve!
    Tomcat throws this error:java.sql.SQLException: Communication link failure:
    at Source)
    at Source)
    at Source)
    at java.sql.DriverManager.getConnection(DriverManager .java:83)
    at java.sql.DriverManager.getConnection(DriverManager .java:126)
    at ConnectionManagerTwo.getConnection(ConnectionManag
    at GdiAdmin.insertStudent(
    at GdiAdmin.process(
    at TestDriver.main(
    The programm consists of 2 JSP-Files and 2 Beans.
    I work on a linux maschine with mysql installed, also the mm.mysql driver (I think correctly, because there's no error message from the servlet engine). If someone needs further Information for helping me with this problem, please ask!
    I think of my mysql database being the problem.
    But I've tried anything so far, nothing happened more!
    Thanks, Matthias

  2. #2
    Join Date
    Sep 2002

    Re: Communication link failure

    #g++ filename -lmtsqlclient -L/usr/lib/mysql
    U should use the above compile command .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts