PyCharm 3.1.0 Web Help

To access this dialog from the Database tool window (when creating a new data source):
Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+Insert or Ctrl+NAlt+InsertCommand N or Control EnterControl N or Control EnterCommand N or Control Enter or New in the context menu, then select Import from sources.
If there are data sources already defined, select any of the data sources first.


Use this dialog to select the files for which you want to create DB data sources.

In the upper part of the dialog, underneath the toolbar, the appropriate files found in your project are displayed.

For each of the files, the main settings for a data source that can be created are shown. The most important of these settings are the database connection parameters (the database URL, driver class, user name and password) and the corresponding JDBC driver file.

When you select a file, its contents are shown in the lower part of the dialog.

Use the check boxes to select the files for which you want to create data sources.

Item Tooltip Shortcut Description
properties Properties Click this button to open the Data Sources and Drivers dialog for the selected item to view or edit the properties of the data source that can be created.
iconSelectAllRemoteRunDialog Select All Click this button to select all the items ( files/candidate data sources).
iconUnSelectAllRemoteRunDialog Unselect All Click this button to deselect all the items ( files/candidate data sources).
expandAll.png Expand All Ctrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCommand NumPad or Command EqualsCommand NumPad or Command EqualsCommand NumPad or Command Equals Click this button to expand all nodes.
collapseAll Collapse All Ctrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCommand NumPad - or Command MinusCommand NumPad - or Command MinusCommand NumPad - or Command Minus Click this button to collapse all nodes.
Test Connection Click this button to make sure that the database connection settings for the selected item are correct, and PyCharm can communicate with the target database.

See Also

Web Resources: