I am trying to connect a web service application with MySQL but when I want to connect MYSQL server I get this error.
hi I had the same problem but I already solve it first delete mysql-connector-java file from the path C: \ Program Files \ NetBeans 8.2 \ ide \ modules \ ext then lower the driver link , uncompress the file, and copy the file mysql-connector-java-5.1.46-bin in the path C: \ Program Files \ NetBeans 8.2 \ ide \ modules \ ext in the netbeans in features, in controllers select Mysql (Connector / J driver) right click and in customize add the driver.
In order to solve this problem, I updated my version of the connector (Driver), updates according to your database server, in my case MySQL.
Since Biginteger can store very large numbers, so large that they can not be contained in a Long type, it is not possible to do the conversion without possible loss of information. That's why Java complains.
Have you tried the longValue () method of BigInteger?
Good evening.
I solved it in another way. Instead of using the driver that comes by default in NetBeans I added a jar folder and added the driver that is in this page link