sir ,
i am using the following code for connecting postgresql,but this code did not to the other system database.please send the correct for the driver connection.
thanks,
regards
sugumar
import java.sql.*;
import java.io.*;
import java.lang.*;
import java.net.*;
class meeting123
{
public static void main(String args[]) throws Exception
{
Class.forName("postgresql.Driver");
Connection con=DriverManager.getConnection("jdbc:postgresql://192.168.230.148/meeting,postgres,postgres");
Statement st=con.createStatement();
ResultSet rs=st.executeQuery("select * from tbluser");
while(rs.next())
{
System.out.println("StartHour:"+rs.getString(1)+"\tStartMin:"+rs.getString(2)+"\n");
}
}
}