DataGrip Issue Load Data Local Infile
I was able to add the following parameter to the server-side connection string and it worked without having to downgrade the driver version:

jdbc:mysql://localhost:3306/?allowLoadLocalInfile=true