If you use "org.gjt.mm.mysql.Driver"  of Mark Mathews and you have a TCP/IP
based network:


connection =
DriverManager.getConnection("jdbc:mysql://<HOST>/<DATABASE_NAME>?user=<USER>
&password=<PASSWORD>");

<HOST> can be:
-  ("localhost" or IP adress 127.0.0.1) for local machine;
-  a remote host identifier for a remote machine( ex name or IP adress);


----- Original Message -----
From: "Arul" <[EMAIL PROTECTED]>
To: "MySQL" <[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 7:41 AM
Subject: How do i connect my Java Program to a remote MYSQL


> Hi All
>
> How do i connect to mysql on a remote machine..
> Is there any client tools available
>
> Regards,
> -Arul
>
> sql,query
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to