0% found this document useful (0 votes)
54 views

SQL Server 2019 Installation Steps-Winter 2024

Uploaded by

pvyshali95
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

SQL Server 2019 Installation Steps-Winter 2024

Uploaded by

pvyshali95
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 34

SQL Server 2019 Installation Step by Step

SQL Server 2019 pays attention to data science with its new tools provided for Machine
Learning and Artificial Intelligence besides the Database Management tools (disk based or in-
memory databases), Business Intelligence tools (Reporting, Analysis and Integration Services),
Big Data and R development. Especially Python development on SQL Server enables tools for
developing machine learning solutions on SQL Server.

To Download Microsoft Sotware:

If you don’t have a Microsoft Azure account, you need to create one using a non-OU email
address (personal yahoo or gmail account). Go to https://azureforeducation.microsoft.com/devtools

Click on “Sign In”


If you already have an account it will show up. If you don’t have one, then click on “Use another
account”

Now, click on the link “Create One!” In the next screen, enter a non-OU (personal) email
address.
Then enter a password you would like to use.

You will get an email with a verification code. You need to enter the code in the next screen.
If you do verification by phone, then you get a phone call and you will be given the verification
code. You can enter it and then click on Verify
Now you have to do student verification. Enter the OU email address and click on Next.

Accept the Terms. Click on “Verify academic status and accept terms”
You will get an email to the OU email address and you can complete the process by clicking on
the link in the email.

Now you can sign in using your Microsoft account.


Click on SQL Server 2019 Developer and then click on the Download button. Depending upon
the browser you use, you will see the file being downloaded at the bottom of the browser or you
can see the .iso file being downloaded in the “Download” directory.
Similarly, you can download Visual Studio Enterprise 2019 or 2022and its product key. See the
next screenshot.

If you want to install SQL Server within VMware, download VMware Workstation 15 following
the steps shown in the VMWare installation document.
Installing SQL Server 2019
You can install SQL Server 2019 directory into your main computer or install it within a
VMware instance. If you choose to install it within VMware, then the SQL Server installation
file (.iso file) and the Visual Studio installation file should be stored in the shared folder between
your main computer and the VMware instance.

The .iso file is a zipped file that can be unpacked using 7zip or Winrar etc. Unpack the .iso file
and put the files into a separate folder on your computer. Unpacking the .iso file and putting the
contents into a separate folder (or the shared folder with the VMware) is a bit easier to deal with.

When you unpack the .iso file, you will see a setup.exe file in addition to other files and
directories. Right mouse click on the setup.exe file and then choose “Run as Administrator”. The
SQL Server Installation Center panel will pop up.

Launch SQL Server 2019 Installer

You have already downloaded the SQL


Server 2019 software (.ISO format) and
unzipped it into a separate folder.

Run SQL Server 2019 installer program


setup.exe as administrator (shown on the
right side image)

SQL Server Installation Center will be


displayed for SQL Server 2019 setup and
configuration
Switch to Installation tab by clicking on “Installation” link on the left hand side.

Click on New SQL Server stand-alone installation or add features to an existing installation
By default, the Developer edition will be selected and it is free. So, no product key is required.
Click on Next.

Next screen in the wizard will be asking the setup administrator to accept the SQL Server license
terms for SQL Server 2019 installation. Check the box for accepting the license terms and click
on the Next button.
Before setup process starts installing the binaries, it is a good practice to check for updates that
might affect the health of the installation. Click on Next.
In the Install Setup Files step, if there is an update to installation files that update will be
downloaded. If there is no update, this step will be passed
The following wizard step checks the Install Rules

System Configuration Check Report is created at "C:\Program Files\Microsoft SQL Server\


140\Setup Bootstrap\Log\20170806_224959\SystemConfigurationCheck_Report.htm"

Click on Next.

Now we come to the most important step Feature Selection


SQL Server 2019 features can be selected separately for installation or as an add-on to an
existing SQL Server instance.
SQL Server Features

Instance Features
The configuration and operation of each instance feature of a SQL Server instance is isolated
from other SQL Server instances. SQL Server instances can operate side-by-side on the same
computer.

Database Engine Services


Includes the Database Engine, the core service for storing, processing and securing data. The
Database Engine provides controlled access and rapid transaction processing and also provides
rich support for sustaining high availability. The Database Engine also provides support for the
utility control point in the SQL Server Utility. Only Database Engine Services and Analysis
Services can be clustered.

SQL Server Replication


Includes a set of technologies for copying and distributing data and database objects from one
database to another and synchronizing between the databases for consistency. You can use
replication to distribute data to different locations, and to remote and mobile users over local and
wide area networks, dial-up connections, wireless connections and the Internet.
Machine Learning Services (In-Database)
Includes extensions that enable integration with R and Python languages using standard T-SQL
statements.

R
Includes extensions that enable integration with R language using standard T-SQL statements.

Python
Includes extensions that enable integration with Python language using standard T-SQL
statements.

Full-Text and Semantic Extractions for Search


Includes the Search engine that supports Full-Text Extraction for fast text search as well as
Semantic Extraction for key phrases (likely tags) and similarity search on content stored in SQL
Server.

Data Quality Services


Includes Data quality database objects.

PolyBase Query Service for External Data


Includes PolyBase technology that enables truly integrated querying across Hadoop non-
relational data and SQL Server relational data using standard T-SQL statements.

Analysis Services
Includes Analysis Services and tools used to support online analytical processing (OLAP) and
data mining. Only Database Engine Services and Analysis Services can be clustered.

Shared Services
Each shared feature is installed once within a defined scope and operates within that scope. The
defined scope can span all SQL Server versions on a computer (e.g., SQL Server Browser), can
be isolated to one major version of SQL Server, or can be isolated to one or more minor versions.

Machine Learning Server (Standalone)


Includes Microsoft Machine Learning Server for Windows that provides parallelized big data
analysis, transformation, modeling and operationalization capabilities.

Data Quality Client


Includes Data quality client objects.

Client Tools Connectivity


Includes components for communication between clients and servers.

Integration Services
Includes the designer, runtime, and utilities that enable Integration Services to move, integrate,
and transform data between data stores.
Scale Out Master
Includes Scale Out Master for Integration Services Scale Out.

Scale Out Worker


Includes Scale Out Worker for Integration Services Scale Out.

Client Tools Backwards Compatibility

Client Tools SDK


Includes the software development kit containing resources for programmers.

Distributed Replay Controller


Includes the Distributed Replay Controller which orchestrates the actions of the distributed
replay clients.

Distributed Replay Client


Includes the Distributed Replay Client. Multiple Distributed Replay Clients work together to
simulate a workload against an instance of SQL Server.

SQL Server Connectivity SDK


Includes SQL Server Native Client (ODBC / OLE DB) SDK for database application
development.

Master Data Services


Includes Master Data Services, the platform for integrating data from disparate systems across an
organization into a single source of master data for accuracy and auditing purposes. Installs the
Master Data Services Configuration Manager, assemblies, PowerShell snap-in, and folders and
files for Web applications and services.

Redistributable Features
SQL Server redistributable and shared features are installed when needed: Error and Usage
Reporting, SQL Server Native Client, MSXML version 6.0, Sync Services for ADO.NET, and
SQL Server Browser.

SQL Server Database Engine Services Setup

Choose to install the Database Engine Services without any other features.
All other features can be installed later.
Server administrator or setup admin can choose to change the default instance root directory. But
for a Developer Edition I'll keep it unchanged.

SQL Server 2019 Database Engine Services requires 1 GB (1001 MB) disk space.
Select the following features to install: Database Engine Services, Machine Learning
Services, R, Python, Analysis Services, and Integration Services.

Press Next button to continue with next step in the setup wizard.
Instance Configuration enables database professionals to configure the SQL Server as the
default instance on the server or as a named instance.

.
Since you may already have a Default instance on your computer, it is always better to have a
named instance. You can give a name for the instance. In my case, I have given the following
name for the instance: SQL2019VIJAY. When you click on the Instance ID field, it will auto
populate the instance name.

Of course, if you have no SQL Server installed on the server or on your computer, the installed
instances list will be empty. So you are free to choose default instance. However, it is always
better to name your instance. Click on Next.

The following step in setup process is the Server Configuration where the service accounts and
the default server collation settings are defined.

Accept the default options unchanged for the Service Accounts


SQL Server administrators might require to configure these accounts if they want to enable these
services to reach resources on the networks, etc. for such specific cases or for security reasons.
Accept the default settings and click Next.
In Database Engine Configuration step, the first tab enables setup administrator to configure
Authentication Mode and specify the SQL Server administrators.

Choose to configure the SQL Server authentication by using the Mixed Mode of course by
providing a strong password for the sa user (SQL Server system administrator account).

There are two authentications modes: Windows authentication mode and Mixed mode. Click on
the radio button “Mixed Mode (SQL Server authentication and Windows authentication)”.

And press "Add Current User" to add your Windows user to the SQL Server administrators list
to gain system administration permissions on the SQL Server instance. Enter a password for the
sa account. Make sure to note this down someplace safe so that you can have access to it.
This password would be required if you want to make some changes/troubleshoot later on.

Of course you can specify additional users as administrator by adding their accounts with the
"Add..." button.
The second tab in the Database Engine Configuration screen is the Data Directories tab where
system administrators can configure the folders and directories to be used for special purposes.
Leave it unchanged the default directory settings.

But it is critical for performance to arrange data directories and log directories separate from
each other.
Default Data Directories offered by setup wizard are:
Data root directory:
C:\Program Files\Microsoft SQL Server\
User database directory:
C:\Program Files\Microsoft SQL Server\MSSQL15.SQL2019VIJAY\MSSQL\Data
User database log directory:
C:\Program Files\Microsoft SQL Server\MSSQL15.SQL2019VIJAY\MSSQL\Data
Backup directory:
C:\Program Files\Microsoft SQL Server\MSSQL15.SQL2019VIJAY\MSSQL\Backup

In fact, MSSQL15 is a hint for the SQL Server version so namely pointing to SQL Server 2019.
The second part after the "." is the instance of the SQL Server installation, namely SQL2019
which I named previously. If you are installing default instance, you will only see the version
identifier in the directory names.

TempDB configuration can be managed on a separate tab.


With enhancements introduced by SQL Server in previous versions, administrators can specify
more than 1 TempDB data files for their server. The initial size of the tempdb files and
autogrowth options can be specified too.
AS seen in the below screenshot, TempDB Log directory can be configured too.
C:\Program Files\Microsoft SQL Server\MSSQL15.SQL2019VIJAY\MSSQL\Data

FileStream configuration can be managed in the FileStream tab.


Although FileStream can be easily configured later on the SQL Server, enable it now during the
installation process.
Click the checkboxes "Enable FileStream for Transact-SQL access", "Enable FileStream for file
I/O access" and "Allow remote clients access to FileStream data". After SQL Server 2019
installation, you will see a virtual file share named as here in the "Windows share name" which
enables data write and read by putting files into the FileStream folder.

Click on the Next Button.

Analysis Services Configuration

Select the Multidimensional and Data Mining Mode.


Also, Click on “Add Current User”
You can add more users by clicking on the “Add” button.
Click on the Data Directories Tab. Accept the default Data Directories and click on Next.
Consent to install Microsoft R Open

Click on Accept and then Next.

Consent to install Python

Click on Accept and then Next.


Recently Microsoft discontinued including the Machine Learning Server along with the SQL Server 2019
distribution. For our class, we will need only SSAS, SSIS and SSRS. So, during the installation process, you
don’t need to select the Machine Learning Services with R and Python options if you don’t want to. You
can install without those two components. Then, you would be able to install SQL Server without any
issue.

If you want to install the Machine Learning Server with R and Python, then you will run into an issue
since those components are NOT included in the distribution. So, you will get a message to indicate the
location of these components in your local machine, as shown in the screenshot below. It will also show
the links from where you can download the files. You can click on these links or copy and paste the links
in a browser and download these files into your Downloads folder. You will download four .cab files as
shown in the screenshot of the Downloads folder below.

Now click on the Browse button and point to the Downloads folder where the four .cab files exist. Now,
the “Install Path” will be pointing to the Downloads folder. Then, click on the Next button and continue
with the installation. Now, you should be able to complete the installation process. On my machine I had
put them in the C:\Users\sugumara\Desktop\SQL Server 2029 Files directory. Then, I point to it as
shown below in the screenshot. Then click on Next button.
With completing Database Engine configuration, we can continue SQL Server 2019 installation
with the next step "Feature Configuration Rules". This step will go fast and you may not even
see the following screen if all the feature configuration rules are passed. So, if the following
screen flashes quickly and then moves on to the ‘Ready to Install Screen’, then everything is
okay.

A list of rules defined by the features selected will be checked at this step and a visual and a
detailed report will be created automatically. If you see all listed item in green then you can
continue to install SQL Server instance.
The "Detailed Report" can be viewed in its default place:
C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20170807_202247\
SystemConfigurationCheck_Report.htm

Now SQL Server setup administrators and SQL developers who want their new SQL Server
2019 database up and running, are very close to complete installation process.

On "Ready to install" step, a list of selected options and features selected, etc. will be displayed.
The configuration is also visible in the ConfigurationFile.ini file which is stored at "C:\Program
Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20190109_173137\ConfigurationFile.ini"
This verification step is the last stop where you can go back to previous steps and change your
SQL Server 2019 installation options.

Of course after the setup is completed, you can add or remove SQL Server features using the
SQL Server Installer but that might be a second task consuming additional time.

Start installing the binaries for the SQL Server 2019 by pressing the "Install" button.
On my development computer, the setup of SQL Server 2019 database engine is completed in
about 3 minutes or so.
SQL Server 2019 installation is complete.

Now we need to install SQL Server Management Studio (SSMS) and SQL Server Data Tools
(SSDT).

Prior to installing SQL Server Data Tools, Visual Studio 2019 should be installed so that it can
use that version. If there is no instance of Visual Studio 2019 already installed, the SSDT will
install a light weight version of visual studio.

You might also like