I'm trying to connect with MySQL Server using Netbeans, but once I got an error about denied access for user 'root', another time (when I use the password), Netbeans telling me:
java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long
I'm also using MySQL Workbench, so I know my server is working, but Netbeans can't establish a connection with it.
Versions of programs I'm using:
MySQL Server 8.0
MySQL Workbench 6.3 CE
NetBeans 8.2
Driver files I tried:
5.1.23, 5.1.46, 5.1.45 - provided by NetBeans with names (mysql-connector-java-[version number]-bin.jar
8.0.11 - provided by MySQL with path C:\Program Files (x86)\ Connector J 8.0\mysql-connector-java-8.0.11.jar
OS:
Windows 10 x64
Pics: without using password (in MySQL Workbench I don't need to use password