How to Create an ER Diagram in DBeaver Updated on November 8, 2021 by InMotion Hosting Contributor 2 Minutes, 29 Seconds to Read DBeaver is a desktop database client for managing relational database management systems (RDBMS) including MySQL and PostgreSQL. One of its database development features include the ability to create entity relationship (ER) diagrams. In this tutorial we’ll cover how to create an ER diagram in DBeaver. Getting Started with the DBeaver Desktop ApplicationConnect a Database in DBeaverCreate an ER Diagram in DBeaverEdit ER Diagrams Getting Started with the DBeaver Desktop Application Download the free DBeaver community edition from your Linux/BSD package manager or https://DBeaver.io/download/ with the appropriate DBeaver download link.Install DBeaver and launch the program.Decline the sample database. On the next page, choose the type of database system you want to import. Connect a Database in DBeaver For remote databases, you’ll need the following: Server hostname or IPDatabase nameDatabase (or cPanel) username and username password You may be prompted to download driver files to complete remote connections. For locally stored databases, the easiest option to create an ER diagram in DBeaver seems to be to use SQLite. If the database is written in another SQL format (Hive, IBM Db2, etc.), you’ll need to convert the SQL file to SQLite. There are many third party tools available online. Exercise caution with using any third party software. Don’t hesitate to examine the privacy policy and reputation for a developer before using their product. We do not recommend purchasing SQL conversion software to create ERDs in DBeaver. Instead, you should use a dedicated database client such as MySQL Workbench or phpMyAdmin. For this DBeaver tutorial we used the free API from RebaseData.com to convert a WordPress MySQL database to SQLite. The zip file included the SQLite file. curl -F files[][email protected] 'https://www.rebasedata.com/api/v1/convert?outputFormat=mysql&errorResponse=zip' -o output.zip Create an ER Diagram in DBeaver After you connect your database(s), you’re ready to create an ER diagram. In the lower-left corner right-click “ER Diagrams” and select “Create New ER Diagram.”Type a title for your new database ER diagram. This will also be the filename with an “.erd” extension. Select the checkbox for your database to add all tables. Or, select the arrows to expand the database and tables list to add specific tables.Once you’ve decided which tables to add, select “Finish.”To add any tables to a database relationship diagram, drag and drop them from the Database Navigator sidebar on the left. There are no one to one or one to many relationships within the default WordPress database. Edit ER Diagrams In the ERD window you can do the following: Zoom in and outRearrange the database diagramAdd a grid to more easily align tablesToggle the properties sidebar for a selected table or entity (column)Toggle the outline sidebarPrint or export the ERD in GraphML and standard image formatsConfigure ERD settings Get software support for the database diagram tool from the DBeaver GitHub page. With our Cloud Server Hosting, you can deploy a lightning-fast, reliable cloud platform with built-in redundancy – ensuring the availability of your environment! Share this Article InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles Database Optimization: Tips Using MySQL Tuner How to Check and Repair a Database in phpMyAdmin Create a blank database How to Create a MySQL Database Using CLI & cPanel How to Connect to a Database with MySQL Workbench Setting up a Remote MySQL Database Connection MySQL 1064 Error: You have an error in your SQL syntax Using MySQLi to INSERT Data into a Database How to get PostgreSQL on a VPS / Dedicated Server What is MariaDB?