PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Configure connection

Last modified: 20 September 2023

When you create a data source, PyCharm connects to a database automatically to receive database objects. Then the connection closes. Names of data sources that interact with a database are shown in the Database tool window with a little green circle.

If you want to close a database connection, select a data source and click the Deactivate button (the Terminate button) on the toolbar. Alternatively, select a data source and press CtrlF2.

Close a database connection