From 458681c4242022e802d1c1bac4358647778106b6 Mon Sep 17 00:00:00 2001 From: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> Date: Fri, 9 Apr 2021 09:10:42 -0400 Subject: [PATCH] Removed references to dev env. Added reference to Uche's blog about using WSL on Windows. (#32813) --- .../getting-started/getting-started-sql.md | 25 ++----------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/docs/sources/getting-started/getting-started-sql.md b/docs/sources/getting-started/getting-started-sql.md index e1c77009820..25618d59cde 100644 --- a/docs/sources/getting-started/getting-started-sql.md +++ b/docs/sources/getting-started/getting-started-sql.md @@ -16,33 +16,12 @@ Microsoft SQL Server is a popular relational database management system that is ## Step 2. Download MS SQL Server -MS SQL Server can be installed on many different operating systems. Refer to the [MS SQL Server downloads page](https://www.microsoft.com/en-us/sql-server/sql-server-downloads), for a complete list of all available options. - -Alternately, if you are working on Mac or Linux, then you can install MS SQL Server using the resources available in [grafana/grafana](https://github.com/grafana/grafana) GitHub repository (recommended). Here you will find a collection of supported data sources, including MS SQL Server, along with test data and pre-configured dashboards for use. - -> **Note:** Installing MS SQL Server on Windows from the [grafana/grafana](https://github.com/grafana/grafana/tree/master/devenv) GitHub repository is not supported at this time. - +MS SQL Server can be installed on Windows or Linux operating systems and also on Docker containers. Refer to the [MS SQL Server downloads page](https://www.microsoft.com/en-us/sql-server/sql-server-downloads), for a complete list of all available options. ## Step 3. Install MS SQL Server You can install MS SQL Server on the host running Grafana or on a remote server. To install the software from the [downloads page](https://www.microsoft.com/en-us/sql-server/sql-server-downloads), follow their setup prompts. -Otherwise, follow the instructions below to install and configure MS SQL Server from the [grafana/grafana](https://github.com/grafana/grafana/tree/master) repository. - -1. Clone the [grafana/grafana](https://github.com/grafana/grafana/tree/master) repository to your local system. -1. Install Docker or verify that it is installed on your machine. -1. Within your local `grafana` repository, change directory to [devenv](https://github.com/grafana/grafana/tree/master/devenv). -1. Run the bash command to setup data sources and dashboards. - ``` - ./setup.sh - ``` -1. Restart the Grafana server. -1. Change directory back to [master](https://github.com/grafana/grafana/tree/master/devenv). -1. Run the make command to create the MS SQL Server database. - ``` - make devenv sources=mssql - ``` -This creates an image of the SQL Server database and runs it as a Docker container. - +If you are on a Windows host but want to use Grafana and MS SQL data source on a Linux environment, refer to the [WSL to set up your Grafana development environment](https://grafana.com/blog/2021/03/03/.how-to-set-up-a-grafana-development-environment-on-a-windows-pc-using-wsl). This will allow you to leverage the resources available in [grafana/grafana](https://github.com/grafana/grafana) GitHub repository. Here you will find a collection of supported data sources, including MS SQL Server, along with test data and pre-configured dashboards for use. ## Step 4. Adding the MS SQL data source To add MS SQL Server data source: