MySQL connection error no suitable driver found [How to Solve]

I thought the driver was not loaded before, so I added it


After discovering the error, I read the error code again: no suitable driver found for localhost: 3306/upload_file

It turned out that the URL was misspelled and not prefixed: jdbc:mysql://

Attach the complete URL, and remember to add the suffix parameter


Similar Posts: