In the Maven
project. When I first set up XAMPP
and MySQL
work very well. But inside NetBeans
I can't connect to the MySQL
and can't create a connect to the mysql-connector-java-8.0.20.zip or mysql-connector-java-8.0.20.jar.
driver="com.mysql.cj.jdbc.Driver"
and url="jdbc:mysql://localhost:3306/mysql"
When I going to add new connection to MySQL
it display error message,
Cannot establish a connection to jdbc:mysql://localhost:3306/mysql using com.mysql.cj.jdbc.Driver (The server time zone value 'unknown' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver