netbeans 7.4를 사용하여 javafx에서 프로젝트를 수행하고 있습니다. MySQL 데이터베이스와 연결해야합니다. 그 단계는 무엇입니까?netbeans 7.4에서 MySQL 데이터베이스 연결 설정
String url = "jdbc:derby://localhost:1527/Database";
try{Class.forName("org.apache.derby.jdbc.ClientDriver"); //... set the driver
con = DriverManager.getConnection(url,"username","password");
stmt = con.createStatement();
System.out.println("Connected!");
}catch(Exception q){System.out.println("Not connected!");
URL이 데이터베이스 속성에서 찾을 수 있습니다, 드라이버도
자바 FX와 링크가 무엇입니까 : 넷빈즈와 자바 프로젝트에서 – assylias
@assylias 감사합니다 ... 그 링크는 도움이되었습니다 .. – TomJ