DataGrip doesn't run due to weird Java error
Hello,
I installed DataGrip on Windows 10 and set up a database connection. However, when I test it i get this weird error:
Error: Connection to MySQL - mein_rasenroboter@localhost failed: Exception in thread "main" java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.intellij.database.remote.RemoteJdbcServer.main(RemoteJdbcServer.java:15) .
I think I'm missing something on my system, like a java class that handles SQL stuff or so? I tried installing it, but still I got this error. I don't know if what I tried was necessary and if so, what I did was correct. I'm not sure what I'm doing here anymore, I'm so confused. There is no good explanation on this anywhere in the documentation. What do I have to do to make DataGrip run? I thought just installing the program itself would be enough to connect to a DB server? I'm at my wits end here, I just don't know enough about this stuff. Can someone help me?
请先登录再写评论。
Hi,
Could you specify DataGrip version you use?
Could you send us screenshot of your data source settings?
Thank you
Hi!
I'm using version 2016.2.5.
Here is a screenshot of my data source settings. Let me know if you need any other info.
Hi,
You need to ensure that you downloaded MySQL driver.
Also update to the latest DataGrip version.
Thank you.