Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 1005 Bytes

edit-connection.md

File metadata and controls

33 lines (29 loc) · 1005 Bytes

Edit / delete saved connection

The extension does not have edit mode for saved connection. However, you can edit the data manually. All data is saved in VS Code setting in key database.connections.

Structure for My SQL:

    "database.connections": [
        {
            "type": "mysql",
            "name": "any name you want to display (NOT REQUIRED)",
            "host": "localhost:3306",
            "username": "root",
            "database": "database-name",
            "password": "this-field-is-not-required"
        }
    ]

Structure for postgres:

    "database.connections": [
        {
            "type": "postgres",
            "name": "any name you want to display (NOT REQUIRED)",
            "host": "localhost:5432",
            "username": "postgres",
            "database": "database-name",
            "password": "this-field-is-not-required"
        }
    ]

How to edit setting in VS Code