Skip to content
English
  • There are no suggestions because the search field is empty.

How to Set Up a SQL Server – a Guide for IT Resource

SQL Server allows BuzzBID to establish data exchange between several PCs via LAN. Setting up an SQL Server requires an installation package. This article demonstrates how to set up a SQL Standard server, but you can also use SQL Enterprise.

Quick Instructions

  1. Download and install the SQL Server.

  2. Download and install the SQL Server Management Studio.

  3. Set up the Admin machine to receive connections.

  4. Make an exception in Windows Firewall.

Detailed Instructions

We highly discourage using SQL Express in a live environment due to its very limited performance. Instead, use SQL Standard or Enterprise versions 2019 and onward. Versions before 2019 are unsupported.

When downloading the installation packages mentioned in this article, make sure you download them from trusted sources!

Also, please check the end of this article for setting up how BuzzBID updates in the Multi-User environment!

Finally, please bear in mind that BuzzBID doesn't create SQL Server accounts - only databases! If you want to minimize the login permissions, two SQL Server logins are needed at least. You need an admin SQL login to update the database, so you should run the app with the admin user first. You can also create regular user SQL login details to read/write data after the database schema is updated or created.

 

Before you set up the SQL Server, you first need to set up sharing permissions and a sharing folder on the local network. To do this > find where the BuzzBID application is installed (the standard path is C:/Users/[Username]/BuzzBID) and you can share that folder.

Right-click the folder > click Properties.

Windows File Explorer context menu with Properties highlighted for the BuzzBID folder.

 

Switch to the Sharing tab > click Share.

BuzzBID folder Properties with the Sharing tab and Share button highlighted.

 

Choose who can access this folder via the drop-down menu. If it is the Local Area Network (LAN), and you trust all connected PCs and users, you can use Everyone. After you select who you want to share the folder with > click Add.

Network access dialog highlighting the menu for choosing people to share the folder with.

Network access dialog with Everyone selected and the Add button highlighted.

 

You can choose whether you want the folder to be read-only, or others can edit it. Once you decide, click Share.

Folder sharing permission menu showing Read and Read/Write options beside the Share button.

 

Once completed, you will receive a confirmation that your folder is shared on the network, along with its location. You will use this location information to place into BuzzBID so that the app can find where the plans are located.

Folder sharing confirmation displaying the BuzzBID network folder path.

Installing the SQL Server

To set up an SQL Server, download the installation from Microsoft and run the installation.

Select Basic for to install SQL Server with default configuration.

SQL Server 2022 Standard Edition installer with Basic installation selected.

 

Read the End-User Agreement and click Accept.

SQL Server installer displaying Microsoft license terms and the Accept button.

 

Select the folder where you will install the SQL Server, then click Install.

SQL Server installer showing the installation folder and Install button.

 

Wait for the installation to finish.

SQL Server installer downloading and extracting the installation package.

SQL Server installation success screen showing the instance name and connection details.

SQL Server installation success screen with Connect Now selected.

SQLCMD window displaying the result of a SQL Server version query.

Installing the SQL Server Management Studio

Download the SQL Server Management Studio (SSMS) from Microsoft and run the installation.

SQL Server Management Studio setup showing the installation location.

 

Click Install and wait for the process to finish.

SQL Server Management Studio setup with the Install button highlighted.

SQL Server Management Studio installer loading packages.

SQL Server Management Studio setup confirming successful installation.

 

Once you have both apps installed, you need to set up the SQL Server, the SSMS, and Windows Firewall.

 

Setting up the SQL Server

After the installations have been completed, you need to manually set up the SQL Server’s Name and Authentication method. But before you can connect successfully, you first need to configure the SQL Server to send and receive connections.

Click Search in the Windows icon tray > Type SQL Server Configuration Manager > open the app.

Windows Search results highlighting SQL Server 2022 Configuration Manager.

SQL Server Configuration Manager showing the available service and network configuration categories.

 

You then need to expand the SQL Server Network Configuration > click Protocols for SQLSTANDARD.

SQL Server Network Configuration expanded with Protocols for SQLSTANDARD selected.

 

Make sure all three items have their statuses enabled, otherwise, other PCs cannot connect to the SQL Server.

SQL Server network protocols showing Shared Memory, Named Pipes, and TCP/IP enabled.

Quick Tip

If you’re installing the SQL Server for the first time, you don’t need to update TCP Ports. The SQL Server will use the default TCP Port, which is 1433.

 

Then, double-click on the TCP/IP option > switch to the IP Addresses tab > scroll to the end of the list. Here you will need to configure TCP Dynamic Ports and TCP Port.

TCP/IP Properties on the IP Addresses tab, highlighting TCP Dynamic Ports and TCP Port under IPAll.

 

In the TCP Dynamic Ports you should delete the 0, and you can specify the TCP Port. Later, you will use this TCP Port to configure your Windows Firewall. For our demo, we put 1600 as the TCP Port.

TCP/IP Properties with the example static TCP port set to 1600 under IPAll.

 

Click Apply and restart the SQL Server Configuration Manager by turning closing then opening the app.

TCP/IP Properties with the Apply button highlighted after entering port 1600.

SQL Server warning that connection changes take effect after the service is restarted.

Once you update the TCP Port, you should restart the SQL Server. Go to the SQL Server Services > right-click on your SQL Server > select Restart.

SQL Server Services context menu with Restart highlighted for the SQL Server instance.

Next, you need to configure your Windows Firewall to make an exception so that other PCs can connect to the one that has BuzzBID databases.

 

Setting up Windows Firewall

Click the Search button in Windows Icon Tray > type Windows Defender Firewall > Open the app.

Windows Search results highlighting Windows Defender Firewall with Advanced Security.

Windows Defender Firewall with Advanced Security overview and inbound and outbound rule categories.

 

Click Inbound Rules > New Rule.

Windows Defender Firewall highlighting Inbound Rules and the New Rule action.

New Inbound Rule Wizard showing the available rule types before choosing Port.

 

Select Port > click Next.

New Inbound Rule Wizard with Port selected and Next highlighted.

 

Select TCP, then type the Port Number where you set up your SQL Server. In our case, it’s 1600. Then, click Next.

Firewall rule protocol settings with TCP selected and specific local port 1600 entered.

 

Choose either to allow the connection, or allow if it’s secure, depending on the security workflow you have established, then click Next. For this guide, we selected to allow all connections (the first option).

Firewall rule action screen showing Allow the connection selected.

 

Choose how and when to apply this rule, then click Next.

Firewall rule profile screen showing Domain, Private, and Public profile options.

 

Name your new rule, then click Finish.

Firewall rule name set to SQL Port with the Finish button highlighted.

 

Go through the same process for the Outbound Rules.

Windows Defender Firewall highlighting the Outbound Rules category.

 

Now, the SQL Server can use this port to communicate with other PCs on LAN.

Quick Tip

Make sure all PCs connecting to the SQL Server are on the same network.

 

 

Setting up SSMS

Next, open the SSMS application to set up login details. If you are setting up the SQL Server for the first time, you will immediately see the following window.

SQL Server Management Studio with the Connect to Server dialog open.

 

This window allows you to set up the SQL Server. We will focus on the Login tab now, but there are other parameters you can set up too. The most important parameters are Server Name and Authentication method.

Connect to Server dialog highlighting the server name and authentication method.

Quick Tip

You can also use the local IP address in the Server name cell, followed by the TCP/IP Port, for example: 127.0.0.1, 1600

 

If you choose Windows Authentication, you don’t need to set up the Password. If you choose the SQL Server Authentication, you will need to set up Login and Password.

Connect to Server dialog with SQL Server Authentication selected and login and password fields highlighted.

Finalizing the Setup

If you set up everything properly, open BuzzBID and try to connect to the SQL Server. Click Tools > Database Settings to open a window where you can add the necessary information.

BuzzBID Tools menu with Database Settings highlighted.

BuzzBID Database Settings in Multi Users mode before entering connection and folder details.

 

Add the SQL Server Name from the SSMS application.

SQL Server Management Studio highlighting the server name to use in BuzzBID.

BuzzBID Database Settings with the SQL Server Name field populated and highlighted.

Quick Tip

If you set up the SQL Server in a way that you need to use ports, place a comma immediately after the SQL Server name, then add the port.

Ex. DESKTOP-PQ00ERE\SQLSTANDARD, 1600

 

If you chose the SQL Server Authentication, add Login and Password. If you chose Windows Authentication, this section is greyed out both in SSMS and BuzzBID.

BuzzBID Database Settings highlighting the authentication selector and login and password fields.

 

Click on the 3 dots and choose the Plans Folder on the Network.

BuzzBID Plans Folder browser showing the shared BuzzBID folder on the network.

 

BuzzBID will automatically add the Screen Capture folder.

BuzzBID Database Settings with the shared Plans and Screen Capture folder paths populated.

 

Since we are setting up the SQL Server for the first time, there is no database to access yet, so the Database drop-down menu is empty.

However, you can write a name for the database > click Apply and BuzzBID will create a new database for you. This database creation also means that the PC where you first create the database will also be the Admin for that database.

BuzzBID prompt asking whether to create the new database entered in Database Settings.

 

Once the process is completed, you will receive a message stating that the database has been created.

BuzzBID confirmation that the SQL database is connected and the application will restart.

 

Now you have the database set up, and others can connect to it.

Quick Tip

Make sure the network all PCs are connecting to is private network; otherwise you may have trouble seeing the shared folders.

Windows Network and Sharing Center showing a Private network.

 

If you need to stop sharing a folder, click Search on the Windows Icon Tray > type Computer Management > navigate to Shared Folders > Shares > right-click to open a menu where you can choose to stop sharing a folder so it doesn’t appear in the LAN any longer.

 

Also, if you are running the Multi-User feature in a virtual machine environment, please note that the following settings need to be made permanent so that BuzzBID can retain database settings.

These settings are saved at the following location: C:/Users/[USER]/AppData/Local/BuzzBID/settings

Windows File Explorer showing BuzzBID settings files in the local AppData settings folder.

Updating BuzzBID in the Multi-User Environment

Since we are publishing regular and frequent updates, there are a couple of settings you should implement in order to have a streamlined updating workflow.

Quick Tip

  1. Update the Admin User first! This user has access rights to the SQL database. If other users attempt the update first - they can encounter errors.
  2. After the update is complete, update connected users.


Start the SQL Server Management Studio > connect to your Server. Then, expand the BuzzBID database.

SQL Server Management Studio Object Explorer with the BuzzBID database Tables folder expanded.


In the Tables folder, find the table 'dbo.ConnectedUsers' > right click on it > select Edit Top 200 Rows.

ConnectedUsers table context menu with Edit Top 200 Rows highlighted.


Then, select the record in the Table > right-click > select the Delete option > click Yes to confirm.

ConnectedUsers data grid with a row selected and Delete highlighted in its context menu.

SQL Server Management Studio confirmation dialog for deleting the selected ConnectedUsers row.


This method will allow separate apps on both Admin and User levels to update without any issues.