Arul wrote:
>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)
If you use "org.gjt.mm.mysql.Driver" of Mark Mathews and you have a TCP/IP
based network:
connection =
DriverManager.getConnection("jdbc:mysql:///?user=
&password=");
can be:
- ("localhost" or IP adress 127.0.0.1) for local machine;
- a remote host identifier for a remote machine( ex name o
<%@ page import="java.sql.*" %>
Connection connection = null;
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
connection = DriverManager.getConnection(
"jdbc:mysql://localhost/sherzodr_cdbaza?user=sherzodr_cdbaza&password