SQL Server 2019 Installation Steps-Winter 2024
SQL Server 2019 Installation Steps-Winter 2024
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.
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
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.
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.
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
Click on Next.
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.
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.
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.
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.
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.
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.
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.
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.