I am trying to connect mysql 8.0 in report designer and also added mysql-connector-java-8.0.16.jar in report-designer\lib\jdbc path.

no connection, showing error :

Code:
Error connecting to database [test] : org.pentaho.di.core.exception.KettleDatabaseException: 
Error occured while trying to connect to the database


Error connecting to database: (using class org.gjt.mm.mysql.Driver)
Could not create connection to database server.




org.pentaho.di.core.exception.KettleDatabaseException: 
Error occured while trying to connect to the database


Error connecting to database: (using class org.gjt.mm.mysql.Driver)
Could not create connection to database server.




    at org.pentaho.di.core.database.Database.normalConnect(Database.java:415)
    at org.pentaho.di.core.database.Database.connect(Database.java:353)
    at org.pentaho.di.core.database.Database.connect(Database.java:306)
    at org.pentaho.di.core.database.Database.connect(Database.java:294)
    at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:84)
    at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2459)
    at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:541)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)