Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ Database tool - Mongo read-only

I'm connecting to a local MongoDB instance installed through brew via the IntelliJ Database tool. I can see and query things; but as soon as I try to update a record eg set a database lock back to false I get the error This table is read-only. Changes cannot be applied.

The same thing doesn't happen using the console. I've attempted to toggle the Read-only checkbox under Datasource properties > Options.

Is there another setting somewhere else I'm missing?

like image 296
Kai Avatar asked Dec 16 '19 22:12

Kai


People also ask

How connect Mongo to Intellij?

To connect to a MongoDB database, head over to the Database tool window on the the right side of the IDE and click on the + (New) button. Select Data Source then MongoDB as the data source type. Customize the name of the data source, connection details, then click on the Test link to ensure everything is ok.

How do I enable Database options in Intellij?

As of intellij version 2017.1, search for the plugin "Database navigator" in Settings -> Plugins. Then you can open the db browser from View -> Tool Windows -> DB Browser.

How do I open a DB in Intellij?

In the Database tool window (View | Tool Windows | Database), you can work with databases and DDL data sources. You can view and modify data structures in your databases, and perform other associated tasks. To view a table, double-click the table.


1 Answers

It is not yet supported. Please vote for this request: DBE-9375.

like image 158
Andrey Avatar answered Sep 18 '22 16:09

Andrey