如何设置 DB Navigator 插件 for PhpStorm
Instructions
Install DB Navigator Plugin via menubar >> Settings >> Plugins >> Available-Tab
Download MySQL jdbc connector from here >> http://www.pc6.com/softview/SoftView_99415.html
Unpack MySQL jdbc connector to a directory of your choice
Restart PHPStorm / WebStorm
Add a DB via menubar >> DB Navigator >> Settings >> Connection-Tab >> Plus-Button
Enter the parameters for your connection (see below for possible entries for a local MySQL DB)
Possible parameters for a local MySQL DB
Name: name of choice (localhost)
Description: additional info of choice (dbname)
Driver Library: path to the .jar file (that is the directory used in step 3)
Driver: your perfered driver (most likely the standard driver will do >> com.mysql.jdbc.Driver)
URL: connection URL with a jdbc reference (e.g.: jdbc:mysql://localhost:3306/)
UserName: the db username (root)
Password: the db password (root)
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。