Answer the question
In order to leave comments, you need to log in
Error connecting to database, how to fix?
Here is the whole error:
C:\Users\terme\.jdks\openjdk-14.0.1\bin\java.exe "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.1.2\lib\idea_rt.jar=62779:C :\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.1.2\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\terme\Desktop\oidt1\target\classes;C:\Users\terme\. m2\repository\com\fasterxml\jackson\core\jackson-databind\2.9.8\jackson-databind-2.9.8.jar;C:\Users\terme\.m2\repository\com\fasterxml\jackson\core\ jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;C:\Users\terme\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.9.8\jackson-core- 2.9.8.jar;C:\Users\terme\.m2\repository\javax\persistence\javax.persistence-api\2.2\javax.persistence-api-2.2.jar;C:\Users\terme\.m2\ repository\org\postgresql\postgresql\42.2.20\postgresql-42.2.20.jar;C:\Users\terme\.m2\repository\org\checkerframework\checker-qual\3.5.0\checker-qual-3.5.0.jar Parser
java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/sydorenko_lab1
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:702)
at java.sql/java.sql. DriverManager.getConnection(DriverManager.java:228)
at Parser.main(Parser.java:36)
Process finished with exit code 0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question