Problem with connect my Database
Hello,
I want to be able to connect from PHPStorm for Mac with DB Navigator.
I have install the plugins and make necessary adjustments.
However, when I click on a table to display the data, it displays me:
[2013-04-26 16:03:25] Exception in thread "main" java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:171)
at com.intellij.persistence.database.console.RemoteJdbcServer.main(RemoteJdbcServer.java:15)
I have tested my setup and here is what displays when I click the test button:
Test connection to "XXX" succeeded. Configuration is valid
So I ask to you to see if you have an idea of this problem?
Thank you in advance for your help.
请先登录再写评论。
Hi there,
DB Navigator plugin is not developed by JetBrains -- you should report any bugs / seek an advice directly from its' author: http://plugins.jetbrains.com/plugin?pr=phpStorm&pluginId=1800
I use the latest version of Database Navigator (3.0.2530) and MySQL connector "mysql-connector-java-5.1.24-bin.jar".
The error is not coming from the DB Navigator plugin, but from the built-in database functionality (jetbrains standard distribution). You may be browsing the database structure from the standard distribution database support. Please provide some screenshots.
PhpStorm/WebStorm already provides quite good database support. You may not need DBNavigator plugin.