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

679 questions
0
votes
2 answers

Bulk insert from file thrown an error Cannot bulk load because the file could not be opened

I'm working with remote Microsoft SQL Server. After executing following code using DataGrip on Ubuntu I receive an error: CREATE TABLE #TempNullClass ( id nvarchar(10), classCode nvarchar(10) ); BULK INSERT #TempNullClass FROM…
0
votes
0 answers

Having Trouble returning large number of rows from PostgresSql DB (Linux server) using Windows Client (e.g., DataGrip)

I am brand new to PostgreSql and I am having trouble returning a simple SELECT * FROM TABLE; query. The problem I am encountering is that the client times out and I am receiving out of memory errors (OOM) when trying to return a large number of…
TheSchnitz
  • 31
  • 1
  • 11
0
votes
1 answer

How do I configure IntelliJ IDEA to use clear-text password authentication for a MySQL data source?

I've tried a few different ways of defining my MySQL database connection in IntelliJ, but can't seem to connect. Requirements: Uses an SSH proxy server Needs the password sent in clear text. My understanding is that the MySQL driver should have a…
Ari Bustamante
  • 84
  • 2
  • 11
0
votes
1 answer

DataGrip - Disable code highlighting

Is it possible to disable this purple line syntax highlighting feature of DataGrip? All my code is being surrounded by those lines and i couldn't find the right option at settings.
Diego Victor de Jesus
  • 2,575
  • 2
  • 19
  • 30
0
votes
1 answer

Run query against Amazon Redshift and an on-premises source at the same time

We are working with an Amazon Redshift cluster and for sure our on-premise source data. Sometimes we need to run queries combining Redshift and on-premises data. To explore my data in both sources I work with DataGrip. I know that SQL has functions…
0
votes
1 answer

Output of Date in MariaDB

Today I was using datagrip with the new view of MariaDB, and at executing SELECT DATE('2018-03-01'); return '2018-02-28'. Meanwhile on MySQL view return the same Date that I put as String version. I use MariaDB 10.1.26 with XAMP, Datagrip 2018.1.…
0
votes
0 answers

Connection failure while connecting mssql server using datagrip ubuntu

I have remote mssql server database but when I try it connect to the database using datgrip on ubuntu . I am getting the following error: The TCP/IP connection to the host xx.xxx.xx.xx, port 1443 has failed. Error: "Connection timed out: no further…
ashok poudel
  • 703
  • 11
  • 28
0
votes
0 answers

How do I stop DataGrip being so index picky?

I am trying to get a new machine up and running and have been told to install JetBrains DataGrip. Having installed it, however, there are some tables for which this error message keeps appearing: The optimizer could not find a unique index which it…
HugMyster
  • 329
  • 1
  • 4
  • 14
0
votes
1 answer

DataGrip skip lines during execution

Why does DataGrip skip lines when I execute my script? It seems like it skips all the lines highlighted in green. Isn't there any option which tells DataGrip to execute every line? I've been searching for several hours and even days to find this…
Elie G.
  • 1,514
  • 1
  • 22
  • 38
0
votes
1 answer

Connecting to localDB in Rider gives the wrong DB

https://blog.jetbrains.com/datagrip/2016/10/07/connecting-datagrip-to-sql-server-express-localdb/ The description above worked fine. But the opened DB contains system tables like spt_monitor, spt_fallback_dev. (sqllocaldb.exe i showed only one…
Istvan Heckl
  • 864
  • 10
  • 22
0
votes
1 answer

How do I find a table in DataGrip

Using JetBrains' DataGrip 2017.3.4 I have it linked to a Sybase TSQL database. All I wish to do is find a table in it so that I can find the structure. I have selected all nodes and opened them 3 times - once for the dbo, once for the tables and…
HugMyster
  • 329
  • 1
  • 4
  • 14
0
votes
2 answers

DataGrip/PhpStorm is not connecting to MySQL DB, error: com.intellij.execution.ExecutionException

I was using PhpStorm as my code editor and DB client both. It was working fine. But suddenly it stopped working. Deleting connection and then add new data source with absolute correct database credentials, but still it's not being connect. Then I…
Imran
  • 4,582
  • 2
  • 18
  • 37
0
votes
1 answer

Adding Tag/Label on Structure view on Datagrip

I would like to add the tag/label on the each queries that I have. I use similarly created query. I added suggestion in Datagrip suggestion box. I would like to find if there is a such feature(plugin) that I am not aware of. If I could add tags or…
YONGAR
  • 51
  • 4
0
votes
0 answers

data grip json groovy format integers to an unexpected format

I have a column in number which contains 1000000000 and when I export it to json-Groovy with DataGrip it takes 1.0E9 as value ( scientific format), is there a way to let it as it was?
Nicolas D
  • 1,182
  • 18
  • 40
0
votes
1 answer

how to serialize large class into multiple files

I'm trying to automate setting up datagrip for work. Each project has a few files that define what the datasource is, what the workspace looks like etc etc. The part that confuses me on how to go about implementing is the idea of "multifile-model".…
Robert Snyder
  • 2,399
  • 4
  • 33
  • 65