Guest User

Untitled

a guest
Aug 26th, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.30 KB | None | 0 0
  1. Sun Aug 26 10:36:29 VLAT 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
  2.  
  3. Ошибка соединения! Проверить выходную консоль
  4.  
  5. java.sql.SQLException: The server time zone value 'RTZ 9 (çèìà)' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
  6. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
  7. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
  8. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
  9. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
  10. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)
  11. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:76)
  12. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:832)
  13. at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456)
  14. at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:240)
  15. at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:207)
  16. at java.sql.DriverManager.getConnection(DriverManager.java:664)
  17. at java.sql.DriverManager.getConnection(DriverManager.java:247)
  18. at Connection.JDBCExample.main(JDBCExample.java:26)
  19. Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'RTZ 9 (çèìà)' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
  20. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  21. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  22. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  23. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  24. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
  25. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:85)
  26. at com.mysql.cj.util.TimeUtil.getCanonicalTimezone(TimeUtil.java:128)
  27. at com.mysql.cj.protocol.a.NativeProtocol.configureTimezone(NativeProtocol.java:2236)
  28. at com.mysql.cj.protocol.a.NativeProtocol.initServerSession(NativeProtocol.java:2260)
  29. at com.mysql.cj.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:1314)
  30. at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:963)
  31. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:822)
  32. ... 6 more
  33.  
  34. jdbc:mysql://localhost/db?useUnicode=true&serverTimezone=UTC
  35.  
  36. jdbc:mysql://localhost/db?useUnicode=true&serverTimezone=UTC&useSSL=false
Add Comment
Please, Sign In to add comment