如何設置 DB Navigator 插件 for PhpStorm

Instructionshtml

  1. Install DB Navigator Plugin via menubar >> Settings >> Plugins >> Available-Tabmysql

  2. Download MySQL jdbc connector from here >> http://www.pc6.com/softview/SoftView_99415.htmlsql

  3. Unpack MySQL jdbc connector to a directory of your choicespa

  4. Restart PHPStorm / WebStormorm

  5. Add a DB via menubar >> DB Navigator >> Settings >> Connection-Tab >> Plus-Buttonhtm

  6. Enter the parameters for your connection (see below for possible entries for a local MySQL DB)ip

Possible parameters for a local MySQL DBget

  • Name: name of choice (localhost)it

  • Description: additional info of choice (dbname)io

  • 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)

相關文章
相關標籤/搜索