To all who didn't know, ERD stands for entity relationship diagram. It's a graphic overview of your database. And this is one of the requirements OP seems to be asking in a tool but unfortunately he refused to explain.
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Can you explain what exactly you're looking for? Usually a simple database only requires simple administration, so tools like phpmyadmin and pgadmin are sufficient.
Have you taken a look at CloudBeaver? I’m not sure I understand what an ERD is but I’ve used this to manage and work with databases before. Pretty easy, UI is not bad at all and it’s self host-able (through docker). I don’t know if it meets your criteria 100% but worth checking out.
Trying it out, the wiki says it has an ERD editor, but its documentation is kind of lacking.
It's example image here: https://github.com/dbeaver/cloudbeaver/wiki/Entity-Diagrams
Shows it interacting with a postgres database, but when I try the same I am not getting a Diagram tab. Its also proving to be pretty awkward to try and work with.
So far best I have found is Azimutt, which is pretty close to what I want but its interface is lacking atm, and I couldnt get it to successfully connect to my postgres database in the end (kept giving NOT FOUND errors even though I tested inside the docker image to validate the connection and it could indeed TCP the postgres database's port)
I do remember being a bit lost with initial connection to a postgres when I first spun up the app. I clicked around for a few minutes but after than it has been very handy. My use case was extremely basic as I just needed to manipulate some records that I did not know the right query for and to visualize the rows I needed.
I was able to connect to the DB with Cloudbeaver, but it straight up wasn't providing the diagram tab in the way the picture said it outta. The example pic even specifically is using a postgres DB as its example!
I pretty much had the exact same view, but no diagram tab. Unfortunately the wiki article doesn't go into much detail, it just says:
"(if the tab is not presented then the object does not support the diagram presentation)"
With no information provided further listing off what is, and is not, supported for diagram presentation.
Lack of documentation it seems, which is unfortunate. It seemed like it has potential but I spent a good 20 minutes fiddling with it, trying different configurations and settings, nothing made it start working and it seems like (as is the case on a few of these tools) the ERD tooling is often a bit of an afterthought and poorly supported.
Many of the tools are sql first, ERD... third? fourth? forgotten and lacking most features :(
Sad indeed. Maybe raising an issue on GitHub? Even if you don’t end up using cloudbeaver, it’s worth reporting it. Maybe they don’t know there’s a problem with this component of their app.