setPassword(String password)
DriverManagerDataSource dmd = new DriverManagerDataSource(); dmd.setPassword(password); //設定存取資料庫的密碼