Guest User

Untitled

a guest
Nov 8th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. sqlcon = DriverManager.getConnection(SQLConnection.getUrl(),
  2. SQLConnection.getUser(), SQLConnection.getPassword());
  3.  
  4. SQLConnection.getUrl() = "jdbc:mysql://localhost:3306/dataValdb"
  5. SQLConnection.getUser() = "root"
  6. SQLConnection.getPassword() = "mypassword"
  7.  
  8. An exception occurred:
  9. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException
  10. MESSAGE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
Add Comment
Please, Sign In to add comment