Questions tagged [datagrip]

JetBrains' commercial Database IDE(formerly 0xdbe). This is a cross platform database IDE that supports most relational databases.

DataGrip is a multi-engine database environment from JetBrains. It supports:

  • Oracle
  • PostgreSQL
  • AWS Redshift
  • MySQL
  • Microsoft SQL Server
  • Microsoft Azure
  • DB2
  • Sybase
  • SQLite
  • HyperSQL
  • Apache Derby
  • H2
  • Exasol

Targeting the needs of professional SQL developers, DataGrip makes working with databases an enjoyable experience.

Main features

Database objects

DataGrip introspects objects in your databases and displays them grouped in folders by schemas. It also provides a UI for adding and editing tables, columns, indexes, constraints, etc. Quick navigation brings you to any object, whether it has just been created in your code or has been read from a database.

Data editor

A powerful table editor lets you add, remove, edit, and clone data rows. Navigate through the data by foreign keys and use the text search to find anything in the data displayed in the table editor. All your changes are stored locally and can be submitted at once. Multiple fields can also be edited at once.

Query editor

Transform and move blocks of code, use multi-cursors to manage selection, format code according to specific style. DataGrip provides context-sensitive, schema-aware code completion, helping you write code faster. Completion is aware of table structure, foreign keys, and even database objects created in the code you're editing.

Additional Features

Code Reformatting

Reformat queries with a single click through user-definable code style schemes. Formatting currently supports: SQL, JSON, HTML, XML, and CSV.

Query Templates (Live Templates)

Ability to define custom, commonly-used SQL snippets that can be generated via an alias using smart code completion (e.g. define a common set of joins to auto-generate when typing 'common' into the SQL editor).

Safe Refactor

Refactor code without worrying that your changes will break other portions of your project. DataGrip will automatically check and alert, if a refactor change has the potential to break other portions of code within your project.

Links

469 questions
43
votes
2 answers

0xDBE / PHPStorm / IDEA fails to synchronize database's tables

I'm getting the following error when trying to sync the database tables in 0xDBE: Method org.postgresql.jdbc4.Jdbc4Array.free() is not yet implemented. Method org.postgresql.jdbc4.Jdbc4Array.free() is not yet implemented. The SQL statement: with…
Ima
  • 670
  • 1
  • 15
  • 26
38
votes
6 answers

How to Export/Import a Data Source from DataGrip?

I can't seem to figure out how to export a data source configuration in DataGrip (currently on 2016.2 EAP). I would like to export a handful of data sources and share them with my teammates to make it easier for them to get up and running on…
David Farrell
  • 2,937
  • 2
  • 12
  • 11
32
votes
5 answers

Creating new database in DataGrip JetBrains

Anybody know how to create new database in DataGrip (database IDE from JetBrains)? Could not find in DataGrip Help page.
Abduhafiz
  • 2,711
  • 3
  • 32
  • 44
31
votes
3 answers

DataGrip added value compared to IntelliJ IDEA

So, I was wondering if there is really some new features coming from JetBrains DataGrip software. So far, I didn't find anything that is not already there in IntelliJ IDEA (Ultimate). I didn't spend much time using it though.
Ellone
  • 3,022
  • 9
  • 33
  • 61
31
votes
4 answers

How to export a data base from DataGrip at one SQL file?

How I can export a data base from DataGrip at one SQL file as phpmyadmin export? If I use Dump Data To Files, DataGrip save one table at one file. And how I can create backup of all MySQL databases, which open in DataGrip?
Siricks
  • 311
  • 1
  • 3
  • 5
25
votes
3 answers

Import a database to DataGrip(0xDBE)

How do I import a database just like in phpmyadmin at DataGrip? I have the .sql exported from phpmyadmin... but those are lots of lines so that the IDE stops working when trying to run the whole .sql
Jonathan Solorzano
  • 5,994
  • 16
  • 57
  • 119
24
votes
4 answers

Datagrip - get row count (easily) on queries with more than 500 results

Is there a way (setting or shortcut) for displaying the total row count of a query that outputs more than 500 rows - that is, without modifying the "Result set page size" value in preferences? I'm looking essentially for the output of select…
Kristen Waite
  • 1,255
  • 1
  • 13
  • 26
24
votes
2 answers

How to quickly generate SELECT statement for a table in DataGrip?

In Microsoft SQL Server Management Studio (SSMS), you can right-click on a table, then go to Script Table as -> SELECT To, and then choose a destination for the generated script. Is there anything similar in DataGrip, or can one be custom created in…
Travesty3
  • 14,336
  • 6
  • 52
  • 95
21
votes
3 answers

Defining a Redshift connection in DataGrip

I'm trying to define a Redshift connection in DataGrip but couldn't find any Redshift driver in the UI. I tried using both Postgres and generic Database Driver with no luck. Has someone been able to configure this?
Ziv Gabovitch
  • 635
  • 1
  • 7
  • 17
21
votes
3 answers

How to import CSV data to MySQL in JetBrains DataGrip

I'm studying MySQL. I need to import data from a CSV file to a MySQL table using JetBrains DataGrip. I've done such this job before in dbForge MySQL, but last week I moved from Windows to Linux. There are some questions how to import CSV to MySQL on…
Ilya Rusin
  • 1,025
  • 3
  • 20
  • 33
20
votes
14 answers

datagrip Cannot apply changes This table is read only. Cell editor changes cannot be applied

So simply the problem occurs when I want to edit selected rows and then apply it. I'm sure it worked some time ago. Tried redownload postgres driver in preferences(yeah, I use postgres) Anyone faced same issue? Anyone succeed? PS. Running on…
jnowak
  • 374
  • 1
  • 2
  • 12
19
votes
1 answer

How to edit user privileges with JetBrains DataGrip?

How can I edit user privileges of some MySQL servers with JetBrains DataGrip?
iizno
  • 818
  • 1
  • 6
  • 24
19
votes
3 answers

How do you set a cell to null in datagrip?

Is there a quick way without diving into sql to set a particular attribute back to null? entering in "" doesn't work.
1mike12
  • 1,681
  • 16
  • 29
19
votes
4 answers

DataGrip: how to connect to Oracle as SYSDBA

I tried to setup in DataGrip an Oracle connection under SYS user. But got error: ORA-28009: connection as SYS should be as SYSDBA or SYSOPER But there is no option in GUI to choose as SYSDBA option.
Vadzim
  • 21,258
  • 10
  • 119
  • 142
16
votes
2 answers

How To Set Server Output On in DataGrip

How Can I "set server output" on in Jetbrains DataGrip IDE? I am able to do this in SQL Developer and run the SQL script successfully. The same script I try to run in DataGrip and it gives error. I know its the "set server output on" that is not…
kooliebwoy
  • 303
  • 2
  • 8
1
2 3
31 32