赞
踩
cn = DriverManager.getConnection( "jdbc:postgresql://MyDbComputerNameOrIP/myDatabaseName", sUsr, sPwd );
http://www.cnblogs.com/kay/archive/2007/01/06/613595.html