Re: How to connect to a remote MySQL database using Java





Lew wrote on 15.12.2007 18:56:
Thomas Kellerer wrote:


madhura wrote on 15.12.2007 03:26:
Hi,

I am trying to connect to a remote MySQL database using Java. I used
the driver org.gjt.mm.mysql.Driver but it doesn't seem to help. I
would appreciate if anybody could guide me through this as I am
learning programming.

http://dev.mysql.com/doc/refman/5.0/en/connector-j-usagenotes-basic.html
T

Madhura - take note that you're aiming for the wrong driver. You want com.mysql.jdbc.Driver.

Which is well documented in the manual

.



Relevant Pages

  • Re: How to connect to a remote MySQL database using Java
    ... madhura wrote on 15.12.2007 03:26: ... I am trying to connect to a remote MySQL database using Java. ... the driver org.gjt.mm.mysql.Driver but it doesn't seem to help. ...
    (comp.lang.java.databases)
  • Re: How to connect to a remote MySQL database using Java
    ... I am trying to connect to a remote MySQL database using Java. ... Madhura - take note that you're aiming for the wrong driver. ...
    (comp.lang.java.databases)
  • Re: jdbc permissions
    ... Using the SQL Server 2000 Driver for JDBC on a Java 2 Platform ... additional permissions. ...
    (microsoft.public.sqlserver.server)
  • Re: Accessing DB2 with Java?
    ... We use DB2 a lot, however, we have not tried to access it from the HP 3000. ... I would research if the type 4 driver requires a newer JVM ... Subject: Accessing DB2 with Java? ... connect to the JDBC listener on the IBM, ...
    (comp.sys.hp.mpe)
  • Re: Accessing SQL Server
    ... > Philip A. Chapman wrote: ... > Got it up and running (after the standard two hours or so trying to get Java ... > SQL Server 7, but the only drivers I've been able to find are for SQL Server ... The jtds driver supports SQL Server 6.5 and better. ...
    (Fedora)