DBeaver 3.x announced support of NoSQL databases (Cassandra and MongoDB in the initial version). Since then DBeaver was divided on Community and Enterprise editions. Enterprise Edition has support of NoSQL databases, persistent query manager and a few other enterprise-level features. MongoDB Community Server MongoDB offers both an Enterprise and Community version of its powerful distributed document database. The community version offers the flexible document model along with ad hoc queries, indexing, and real time aggregation to provide powerful ways to.
Install SQL Server directly to your Mac — no virtual machine required!
Microsoft has made SQL Server available for macOS and Linux systems. This is made possible by running SQL Server from a Docker container. Therefore, there's no need to install a virtual machine with Windows (which was the only way to run SQL Server on a Mac prior to SQL Server 2017).
Install and Configure Docker
This is a prerequisite for installing SQL Server on your Mac. Because the Mac runs SQL Server inside a Docker container, the first thing we need to do is download and install Docker (unless it's already installed). Once installed, we'll increase its memory allocation to a more suitable level for running SQL Server.
- Download Docker from the download page, extract it, and drag it into your Application folder.
- Launch Docker, and go to
Preferences > Advanced
and increase its memory allocation to 4GB
![Dbeaver Mongodb Dbeaver Mongodb](https://steakrecords.com/images/mongodb/cannot-connect-to-remote-mongodb-with-dbeaver.png)
If I've confused you, don't worry. I've written a tutorial with screenshots: Install Docker on a Mac and Configure for SQL Server.
OK, we're now ready to install SQL Server on your Mac.
Now the Actual SQL Server Installation
Now that we've installed Docker and increased its memory allocation, we can go ahead and install SQL Server. The Mac uses the Linux image (the SQL Server for Linux Docker image).
Pull the SQL Server Image
Open a Terminal window and run the following command:*This pulls the latest SQL Server for Linux Docker image to your computer.* The exact command will depend on which release you download. Also, since I wrote this article, Docker has moved the repository for SQL Server. You might need to usedocker pull mcr.microsoft.com/mssql/server:2017-latest-ubuntu
to download SQL Server 2017.Also, SQL Server 2019 Preview has been available since late 2018. As of late 2019 you can download it atdocker pull mcr.microsoft.com/mssql/server:2019-CTP3.2-ubuntu
.For the latest image, see the official Microsoft repository on the Docker website.Launch the SQL Server Image
Run the following command to launch an instance of the Docker image you just downloaded:Replace the container name and password with your own. Also be sure to make a strong password, or you may get an error (see below).Also, if you downloaded a different container image, replacemicrosoft/mssql-server-linux
with your container image.Here's an explanation of the above parameters:-d
- This is an optional parameter that launches the Docker container in daemon mode. This means that it runs in the background and doesn't need its own Terminal window open. You can omit this parameter to have the container run in its own Terminal window.
--name Homer
- This optional parameter provides a name for the container. This can be handy when stopping and starting the container from the Terminal.
-e 'ACCEPT_EULA=Y'
- The
Y
shows that you agree with the EULA (End User Licence Agreement). This is required in order to install SQL Server. -e 'SA_PASSWORD=myPassw0rd'
- Required parameter that sets the
sa
database password. -p 1433:1433
- This maps the local port 1433 to port 1433 on the container. This is the default TCP port that SQL Server uses to listen for connections.
microsoft/mssql-server-linux
- This tells Docker which image to use. If you downloaded a different one, use that instead.
Password Strength
If you get the following error at this step, try again, but with a stronger password.Check the Docker container (optional)
Type the following command to check that the Docker container is running.If it's up and running, it should return something like this:Show All Containers
The above command only shows those containers that are currently running. To show all containers (whether they're running or not), append the-a
flag to the command (you can also use-all
):
Check your Installation & Manage SQL Server
Now that you've installed SQL Server on your Mac, you'll probably want to check that you can access it and query it, etc. Then you'll probably want to start creating databases and doing other DB-related tasks. You'll need some sort of management tool for this.
Here are three options:
sql-cli
sql-cli is a cross platform command line tool for SQL Server. This means you can create databases and query them right from your Mac's Terminal window.Installation is as easy as running a single command (assuming you already have NodeJs installed).Azure Data Studio
Azure Data Studio (formerly called SQL Operations Studio) is a free GUI tool from Microsoft. It's a bit more user friendly for those who aren't comfortable with the command line interface.Installation is as easy as downloading it and dragging it to your Applications folder.DBeaver
Another GUI option is DBeaver. DBeaver is a free open source database tool that works with many different database management systems (MySQL, PostgreSQL, MariaDB, SQLite, Oracle, DB2, SQL Server, Sybase, MS Access, Teradata, Firebird, Derby, etc).You have a few options for installing DBeaver. The easiest way is to download the 'installer option', and then run the installation wizard.
List of tools that allow for the design of a database.
Database design is a set of activities aimed at improving the development, implementation, and maintenance of an enterprise data management system. Its main goal is to reflect the outline of the database system into real models: physical and logical. Database designers determine what data is to be stored inside the database, and how objects are to be related to each other.
Database design is a set of activities aimed at improving the development, implementation, and maintenance of an enterprise data management system. Its main goal is to reflect the outline of the database system into real models: physical and logical. Database designers determine what data is to be stored inside the database, and how objects are to be related to each other.
Aqua Data Studio Entity Relationship Modeler
Aqua Data Studio Entity Relationship Modeler (ER Modeler) helps in designing database models and uses the Forward Engineer feature to model entities and convert them into SQL Scripts, or Reverse Engineer existing databases to visualize a database model.
Desktop/Cloud: | Desktop |
---|---|
Generate DDL scripts: | |
Free edition: | |
ER Diagram: |
DbSchema
DbSchema is a intuitive designer for complex databases, visual interaction and documentation.
Desktop/Cloud: | Desktop |
---|---|
Generate DDL scripts: | |
Free edition: | |
ER Diagram: |
Moon Modeler
Moon Modeler is a visual database design tool for both relational and noSQL databases. The key features include the visual design of hierarchical structures, MongoDB script generation, various display modes, possibility to add custom notes to the diagram, and more. For PostgreSQL, MariaDB and MongoDB reverse engineering features are available.
Desktop/Cloud: | Desktop |
---|---|
Generate DDL scripts: | |
Free edition: | |
ER Diagram: |
DBeaver
DBeaver is a free multi-platform database tool for developers, SQL programmers, database administrators and analysts.
Desktop/Cloud: | Desktop |
---|---|
Generate DDL scripts: | |
Free edition: | |
ER Diagram: |
Adminer
Adminer is a tool for managing contents of MySQL databases, formerly known as phpMinAdmin. It is a full-featured database management tool written in PHP.
Desktop/Cloud: | Desktop |
---|---|
Generate DDL scripts: | |
Free edition: | |
ER Diagram: |
ER/Studio
ER/Studio Data Architect helps to easily reverse- and forward-engineer, compare and merge, and visually document data assets across multiple platforms and data sources. It enables data professionals to better manage data models and metadata in complex and dynamic enterprise environments.
Desktop/Cloud: | Desktop |
---|---|
Generate DDL scripts: | |
Free edition: | |
ER Diagram: |
RazorSQL
RazorSQL is an SQL query tool, database browser, SQL editor, and database administration tool. It provides visual tools to create, alter, describe, execute, and drop database objects such as tables, views, indexes, stored procedures, functions, triggers, and more.
Desktop/Cloud: | Desktop |
---|---|
Generate DDL scripts: | |
Free edition: | |
ER Diagram: |
Hackolade
Hackolade is a tool for Agile visual data modeling for JSON and NoSQL databases. It provides graphic visualization of complex data structures using Entity-Relationship diagrams to represent denormalized data in a user-friendly way.
Desktop/Cloud: | Desktop |
---|---|
Generate DDL scripts: | |
Free edition: | |
ER Diagram: |
Gleek.io
Gleek.io diagram maker is freemium text-to-diagram tool for developers and software architects. It enables the visual design of database online, in the cloud and from any browser. Create informal, UML, or entity-relationship diagrams - using just your keyboard.
Dbeaver Mongodb Connect
Desktop/Cloud: | Cloud |
---|---|
Generate DDL scripts: | |
Free edition: | |
ER Diagram: |
Dbeaver Mongodb Community
The database design process can be very complicated. The more complex the system, the more sophisticated the tool is needed. Their functionality can vary greatly, however, core features include:
• creating and editing database objects,
• database architecture modeling,
• visualization of a database schema,
• tracking relationships between entities,
• grouping logically related objects into clusters,
• diagrams overview.
Database designer tools enable building graphical models and generating DDL scripts on their basis. The script describes data and relations between entities in the designed database. Furthermore, the tools enable reverse engineering (visualization of the model from the SQL script).
Key factors of creating a reliable and well-organized database are:
• a properly designed data structure,
• establishing what data should be stored in particular objects,
• how objects should be related to each other.
All of them can be improved by using the relevant Database design tool. Additionally, some of them allow the visual representation of data using ERD, makes it easier to visualize even more complex schemas.
Without proper software, development is based on raw code. This increases the risk of errors at the initial stage. The tools allow users to edit the visual layout using simple drag-and-drop functions. With a user-friendly interface, browsing the structure is possible even for non-IT people.
We have created a list of tools that support the process of creating database structure and its content. Our list includes free database design tools as well as advanced, more professional data management tools.
• creating and editing database objects,
• database architecture modeling,
• visualization of a database schema,
• tracking relationships between entities,
• grouping logically related objects into clusters,
• diagrams overview.
Database designer tools enable building graphical models and generating DDL scripts on their basis. The script describes data and relations between entities in the designed database. Furthermore, the tools enable reverse engineering (visualization of the model from the SQL script).
Key factors of creating a reliable and well-organized database are:
• a properly designed data structure,
• establishing what data should be stored in particular objects,
• how objects should be related to each other.
All of them can be improved by using the relevant Database design tool. Additionally, some of them allow the visual representation of data using ERD, makes it easier to visualize even more complex schemas.
Without proper software, development is based on raw code. This increases the risk of errors at the initial stage. The tools allow users to edit the visual layout using simple drag-and-drop functions. With a user-friendly interface, browsing the structure is possible even for non-IT people.
We have created a list of tools that support the process of creating database structure and its content. Our list includes free database design tools as well as advanced, more professional data management tools.