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

Installing SQL Server 2022 and SSMS

Uploaded by

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

Installing SQL Server 2022 and SSMS

Uploaded by

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

Installing SQL Server 2022 and

SQL Server Management Studio (SSMS)


0. Before you start, go to the Control Panel, and then “Programs and Features”. If “Microsoft OLE DB Driver for
SQL Server” is installed, click on it, click “Uninstall”, re-boot Windows when that finishes, and go to Step 1.

1. Download the file at this location: https://go.microsoft.com/fwlink/p/?linkid=2215158

This will download a 4.2 MB file called SQL2022-SSEI-Dev.exe, which will actually perform the installation.

SQL Server is available in a “Developer” edition – this is a full-featured version of the software; it just can’t be
used for any commercial purposes. The (also-free) “Express” edition is feature-limited. We will be using the
“Developer” edition.

2. Start the installer file you just downloaded. Right-click on it, and select “Run as Administrator”. If you get this
“security warning”, click “Run”:

3. When the installer starts, select the “Custom” option:


4. Leave the “MEDIA LOCATION” at the default (C:\SQL2022), and click “Install”:

5. Make sure you have the required amount of free space available. When you click “Install”, it will download all
of the pieces it needs, which is a little over a GB. Be patient.

6. After the download completes and the installer is ready, you the SQL Server Installation Center opens:

7. Run the “System Configuration Checker”.


8. It should report that all of the rules passed (feel free to have it “Show Details”):

9. If they did not, and you are not sure how to correct the problem, contact me. If they did all pass, click “OK”.

10. Click “Installation” on the left, and “New SQL Server stand-alone installation or add features to an existing installation” on the
right:
11. You will be running the “Developer” edition, and we don’t have a license key, so click “Next >”:

12. Read and accept the license terms, and click “Next >”:
13. SQL Server wants to check for updates. Check the recommended box, and click “Next>”:

14. We will be running locally, so ignore the “Windows Firewall” warning, and click “Next >”.

If your system does not have Microsoft .NET Framework v.4.7.2 or newer installed, you will need to install it
now (but it was released in April of 2018, do the likelihood of your having v.4.7.2 “or newer” is quite high).

If any OTHER rule does not pass, stop the installation and contact me.
15. We don’t need the Azure Extension for SQL Server, so uncheck it and click Next>:

16. When you get to “Feature Selection”, check the box for “Machine Learning Services and Language Extensions”.
Then click “Next >”
17. Use the default instance (“MSSQLSERVER”). Click “Next >”:

18. Leave all of the passwords blank (we’re not too concerned about security this time around). Click “Next >”:
19. On the Database Engine Creation” screen, click “Add Current User” as a SQL Server Database Administrator.
On my machine, it seemed to hang for a few seconds before the user appeared in the box. Be patient. DON’T
CLICK “Next>” JUST YET!

On the “Memory” tab (same screen), select “Recommended”, and lower the maximum to 8192 if you have 16 GB
of RAM, and lower it to 4096 if you have 8 GB.

Once you have set the memory limit, check the box that says “Click here to accept the recommended memory
configurations for the SQL Server Database Engine”, then click “Next >”:
20. Everything should be ready to go, so click “Install” when this window appears:

21. Once configured, the actual installation ran for about 3 minutes on my PC. YMMV – be patient. When
everything has completed, you should get this screen:
22. Click “Close” the Setup window. Back in the “SQL Server Installation Center”, click “Install SQL Server
Management Tools” on the right side:

23. This takes you to a page where you can download SSMS 20.2 (473 MB). Click on the “Download…” link:

24. I STRONGLY recommend you save everything you have open, close all windows, and then reboot before
attempting to run the SSMS installer (SSMS-Setup-ENU.exe).

It may take several seconds before the next screen appears. Be patient.
25. Leave the location at its default, and click “Install”:

When the installation completes (a couple of minutes), you should get this screen:
26. ONE more to go: JDBC (the Java DataBase Connectivity) API. Go to https://learn.microsoft.com/en-
us/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-ver16

Click to download the ZIP file (the tar.gz file is for Linux). Open this ZIP file, which contains the folder
“sqljdbc_12.8”, and copy this entire folder to C:\Program Files\.

You are finished!

You might also like