I'm trying to insert CSV data into the MySQL table. But after adding 64 rows I get following error. I'm confused because 64 rows have added to the DB and it fails every time I try.
sql error, state:08S01
message:Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
I'm using MySQL JDBC client in java and my MySQL parameters I have given like below.
private String dbUrl = "jdbc:mysql://0.0.0.0:3306/amasyn_db";
private String dbUser = "root";
private String dbPassword = "root1234";
There was some hacks given but none of these worked in MacOS.