I need to set up a connection in the DB Navigator plugin for PHPStorm in a mac (snow leopard). It asks me for the route of a library that implements the java.sql.Driver class. I just don't have any idea of where is it. Any advice?
相关问题
- NOT DISTINCT query in mySQL
- Flush single app django 1.9
- keeping one connection to DB or opening closing pe
- Mysql-installer showing error : Memoy could not be
- Android Room Fetch data with dynamic table name
相关文章
- pycharm上传代码到github,为什么不能指定某一个项目,而是默认上传第一个项目
- Profiling Django with PyCharm
- PHPStorm Code Hinting for array of object arrays
- How to fix this strange error: “RuntimeError: CUDA
- Connection pooling vs persist connection mysqli
- Pycharm Edu 无法运行代码
- PygraphViz Import Error With PyCharm
- How do you edit the default `__author__ = name` li
Installed unpacked MySQL Connector J files here > c:\Program Files\MySQL\MySQL Connector J
And there need to us > mysql-connector-java-5.1.28-bin.jar
Copy to > c:\Documents and Settings[YOUR_COMP].WebIde70\config\jdbc-drivers\
In MySQL Database connection choose Drivers >> MySQL >> click on PLUS and select
Also need Database Support plug-in turn ON! (Settings >> IDE Settings >> Plugins)
p.s. Actually for PHPStorm 7
Just make sure you added jdbc:mysql:// before hostname. That solved my problem.
Download mysql-connector-java-5.1.18-bin.jar file and set Driver Library path for that jar file.
Then the Intellij idea will automatically load the Driver which is com.mysql.jdbc.Driver.
Then set URL as jdbc:mysql://localhost:3306/
Finally enter valid user name and a password.
First of all, you don't need to install third-party DB Navigator plug-in, as database functionality is available in PhpStorm out of the box, see
Tools
|Data Sources
.Add new data source, it will allow to choose the database and the driver, and will download the required database drivers automatically.
Clearly view this picture. I hope it may help you a little bit.
There is a driver files missing error at below of this image, click this it will download required driver for you.
Database: your database name.