intellij-idea Database Tools Creating new data source


Example

  1. Open "Database Tool Window" if you don't have it opened:
    enter image description here
    This what it looks like:
    enter image description here
  2. Create new data source:
    • By clicking on "+" icon:
      enter image description here
    • Or by opening "Data Sources and Drivers" dialog
      enter image description here
      And adding new data source by clicking "+" there
      enter image description here
  3. If you have not already downloaded JDBC driver, you will be prompted to do it:
    enter image description here
  4. Enter connection parameters:
    enter image description here
  5. Configure SSH tunnel if you need it:
    enter image description here
  6. Configure SSL if you need it:
    enter image description here
  7. Check that configuration successful, by pressing "Test Connection":
    enter image description here