Guest User

Untitled

a guest
Mar 26th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. Mar 26, 2018 8:08:00 PM javafx.fxml.FXMLLoader$ValueElement processValue
  2. WARNING: Loading FXML document with JavaFX API of version 9.0.1 by JavaFX
  3. runtime of version 8.0.101
  4. No suitable driver found for jdbc:mysql://localhost/account
  5.  
  6. private static Connection sqlConn;
  7. private static final String USERNAME = "root";
  8. private static final String PASSWORD = "";
  9. private static final String CONN_STRING = "jdbc:mysql://localhost/account";
  10.  
  11. public static void Connect() {
  12.  
  13. try {
  14. sqlConn = DriverManager.getConnection(CONN_STRING, USERNAME, PASSWORD);
  15. }
  16.  
  17. catch (SQLException err) {
  18.  
  19. System.out.println(err.getMessage());
  20. }
  21.  
  22. }
Add Comment
Please, Sign In to add comment