您的位置:首页 > 博客中心 > 数据库 >

如何设置 DB Navigator 插件 for PhpStorm

时间:2022-03-14 00:02

Instructions

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

  2. Download MySQL jdbc connector from here >> 

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

  4. Restart PHPStorm / WebStorm

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

  6. 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)


热门排行

今日推荐

热门手游