<%@ 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=<PASSWORD HERE>");
You see, if you actually spend a tlittle more effort you can find answers to all of your questions On Fri, 14 Jun 2002, 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) : 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