Trong bài viết này

Sql
Package runs on Windows, mac
OS, & Linux, and is available to lớn install through dotnet tool or as a standalone zip download.

Bạn đang xem: Download and install sqlpackage

Version number: 161.6374.0Build number: 16.1.6374.0Release date: November 9, 2022

For details about the latest release, see the release notes.


Note

Sql
Package version numbering has been adjusted to better reflect the Dac
Fx build number it is associated with. Previously, Sql
Package had a distinct version number (19) & build number (160.x). Beginning with version 161, the version number of Sql
Package will match the Dac
Fx version number it is associated with (eg 161.6374.0).


Installation, cross-platform

Installing Sql
Package as a dotnet tool requires the .NET bộ vi xử lý core SDK v6.0 or later khổng lồ be installed on your machine. Installing Sql
Package as a global tool will make it available on your path as sqlpackage and is the recommended way lớn install Sql
Package for Windows, mac
OS, and Linux.

To install Sql
Package as a global .NET tool, run the following command:

dotnet tool install -g microsoft.sqlpackage
More information on the options available with the dotnet tool install command can be found in the dotnet tool install documentation.

To update Sql
Package lớn the latest version, run the following command:

dotnet tool update -g microsoft.sqlpackage
To uninstall Sql
Package, run the following command:

dotnet tool uninstall -g microsoft.sqlpackage

Installation, zip download

Platform
Download
Windows .NET 6.zip file
WindowsMSI Installer
mac
OS .NET 6
.zip file
Linux .NET 6.zip file

Linux

To extract the file và launch Sql
Package, xuất hiện a new Terminal window & type the following commands:

cd ~mkdir sqlpackageunzip ~/Downloads/sqlpackage-linux-.zip -d ~/sqlpackage echo "export PATH="$PATH:$HOME/sqlpackage"" >> ~/.bashrcchmod a+x ~/sqlpackage/sqlpackagesource ~/.bashrcsqlpackage
Note

On Debian, Redhat, và Ubuntu, you may have missing dependencies. Use the following commands to install these dependencies depending on your version of Linux:


Debian:

sudo apt-get install libunwind8Redhat:

yum install libunwindyum install libicuUbuntu:

sudo apt-get install libunwind8# install the libicu library based on the Ubuntu versionsudo apt-get install libicu55 # for 16.xsudo apt-get install libicu57 # for 17.xsudo apt-get install libicu60 # for 18.xsudo apt-get install libicu66 # for 20.x

mac
OS

To extract the file & launch Sql
Package, mở cửa a new Terminal window & type the following commands:

mkdir sqlpackageunzip ~/Downloads/sqlpackage-osx-.zip -d ~/sqlpackagechmod +x ~/sqlpackage/sqlpackageecho "export PATH="$PATH:~/sqlpackage"" >> ~/.bash_profilesource ~/.bash_profilesqlpackage
Note

Security settings may require modification to run Sql
Package on mac
OS. Use the following commands to interact with Gatekeeper from the command line.


Before executing Sql
Package:

sudo spctl --master-disableAfter executing Sql
Package:

sudo spctl --master-enable

Windows (.NET 6)

To extract the file by right clicking on the file in Windows Explorer, & selecting "Extract All...", và select the target directory.

Open a new Terminal window và cd khổng lồ the location where Sql
Package was extracted:

> sqlpackage

Windows (.NET Framework)

This release of Sql
Package includes a standard Windows installer experience, & a .zip:

Open a new Command Prompt window, & run Sql
Package
Sql
Package is installed to lớn the C:Program FilesMicrosoft SQL Server160DACin folder

Uninstall Sql
Package

If you installed Sql
Package using the Windows installer, then uninstall the same way you remove any Windows application.

If you installed Sql
Package with a .zip or other archive, then delete the files.

Automated environments

Evergreen link are available for downloading the latest Sqlpackage versions:

Dac
Fx

Sql
Package is a command-line interface for the Dac
Fx framework, exposing some of the public Dac
Fx APIs. Dac
Services (Microsoft.Sql
Server.Dac) is a related mechanism for integrating database deployment into your application pipeline. The Dac
Services API is available in a package through Nu
Get, Microsoft.Sql
Server.Dac
Fx. The current Dac
Fx version is 161.6374.0.

Adding the Nu
Get package to a .NET project is accomplished via the .NET CLI with this command:

dotnet địa chỉ package Microsoft.Sql
Server.Dac
Fx
Note

Additional Nu
Get packages were published under the Dac
Fx name, "Microsoft.Sql
Server.Dac
Fx.x64" & "Microsoft.Sql
Server.Dac
Fx.x86". Tư vấn for both platforms is covered under the "Microsoft.Sql
Server.Dac
Fx" package. New references should be made to this package, not the x64 or x86 variants.


Supported Operating Systems

Sql
Package runs on Windows, mac
OS, & Linux & is built using .NET 6. The .NET 6 OS requirements are minimum requirements for Sql
Package, which has additional requirements due to its dependencies.

Xem thêm: Nghệ Thuật Chụp Ảnh Đẹp Bằng Điện Thoại Đẹp Lung Linh

Windows (x64)

Windows 11Windows 10 (1607+)Windows 8.1Windows 7 SP1Windows hệ thống Core
Windows vps 2012 R2Windows hệ thống 2016Windows hệ thống 2019Windows vps 2022

mac
OS

mac
OS 13 "Ventura"mac
OS 12 "Monterey"mac
OS 11 "Big Sur"mac
OS 10.15 "Catalina"

Linux (x64)

Debian 10, 11Red Hat Enterprise Linux 7+SUSE Linux Enterprise server v12 SP2+Ubuntu 16.04, 18.04, 20.04, 22.04

Available Languages

This release of Sql
Package can be installed in the following languages:

Sql
Package .NET 6 Windows:Chinese (Simplified) | Chinese (Traditional) | English (United States) | French | German | Italian | Japanese | Korean | Portuguese (Brazil) | Russian | Spanish

Sql
Package .NET Framework Windows:Chinese (Simplified) | Chinese (Traditional) | English (United States) | French | German | Italian | Japanese | Korean | Portuguese (Brazil) | Russian | Spanish

Sql
Package .NET 6 mac
OS:Chinese (Simplified) | Chinese (Traditional) | English (United States) | French | German | Italian | Japanese | Korean | Portuguese (Brazil) | Russian | Spanish

Sql
Package .NET 6 Linux:Chinese (Simplified) | Chinese (Traditional) | English (United States) | French | German | Italian | Japanese | Korean | Portuguese (Brazil) | Russian | Spanish

Giới thiệu về Microsoft SQL Server

SQL hệ thống là hệ cai quản trị cơ sở tài liệu quan hệ đối tượng người dùng (RDBMS). Microsoft SQL Server năm 2016 là phần mượt được Microsoft phát triển, phát hành trong năm 2016.

Các phiên bạn dạng của SQL Server

Enterprise – phiên bản cao cấp cho nhất với không hề thiếu tính năng, bạn cần phải mua phiên bản quyền.Standard – bao gồm ít tài năng hơn phiên phiên bản Enterprise
Workgroup – giành cho các doanh nghiệp lớn với tương đối nhiều văn phòng thao tác làm việc từ xa.Developer – tựa như như Enterprise tuy thế chỉ cấp cho quyền cho các developer nhằm phát triển, test nghiệm.Express – bản này chỉ dùng ở tầm mức độ solo giản, về tối đa 1 CPU và bộ nhớ 1GB, size tối nhiều của cơ sở dữ liệu là 10GB.

Hướng dẫn setup Microsoft SQL vps 2016

Download Microsoft SQL vps 2016

Bộ cài đặt Sql hệ thống 2016. Các bạn có thể download tại: https://www.microsoft.com/en-us/evalcenter/evaluate-sql-server-2016

Sau đó giải nén file ISO ra để cài đặt.

Cấu hình yêu cầu để thiết đặt SQL server 2016

64-bit SQL server Evaluation edition
Microsoft .NET Framework 4.0.Oracle Java SE Run
Time Environment (JRE) version 7.51 or higher.Minimum memory: 4GBMinimum hard disk space: 6GB

Cách thiết lập Microsoft SQL vps 2016

Để mua đặt, họ nên cài đặt lên HDH Windows server 2016, xem thêm cách cài đặt ở đây:

Sau đó thực hiện thiết lập Microsoft SQL server theo quá trình dưới đây.

Bạn rất có thể thử cài đặt lên 1 VPS, ví dụ Cloud VPS của Vultr. VULTR đang gồm chương trình khuyến mại tặng ngay tới $53 USD miễn phí Credit vào tài khoản khi đăng ký thông tin tài khoản mới.

Bước 1: sau khi giải nén tệp tin .iso của SQL Server, bấm vào file thiết đặt để hiển thị đồ họa như hình mặt dưới

Chọn “Installation

*

Bước 2: Để thiết lập SQL Server lựa chọn “New SQL vps stand-alone installation or add features to lớn exist installation

*

Bước 3: cung ứng Product Key nếu như khách hàng muôn sử dụng phiên bản Enterpise đầy đủ. Ở trên đây mình không tồn tại key yêu cầu chọn bản Evaluation, dùng thử trong 180 ngày.

*

Bước 4: Tích vào ô “I accept the license terms và Privacy Statement” để gật đầu chính sách của Microsoft.

Sau đó bấm < Next > để tiếp tục

*

Bước 5: Nếu bạn có nhu cầu cập nhật phần mềm thì tích vào vào ô “Use Microsoft Update to check for updates

Còn mình để mặc định cùng bấm < Next >

*

Bước 6: Lựa chọn những tính năng của SQL hệ thống mà bạn muốn cài đặt.

Ở phía trên mình chọn duy độc nhất vô nhị “Database Engine Services

*

Bước 7: cấu hình Instance, để mặc định cùng bấm < Next >

*

Bước 8: Để mang định và bấm < Next >

*

Bước 9: cấu hình xác thực

Bấm vào button < Add Current User > để thêm user quản ngại lý, kế tiếp bấm bấm < Next > để tiếp tục

*

Bước 10: xác nhận lại các thông tin thiết lập của SQL server 2016

Bấm button < Install > để thực hiện cài đặt.

*

Quá trình setup sẽ diễn ra

*

Bước 11: sau khi hoàn thành thiết đặt bấm button < Close > để ngừng hoạt động sổ sở hữu đặt.

*

Cài đặt công cụ quản lý SQL hệ thống Management Studio

SQL vps Management Tools là điều khoản trong SQL Server, bao hàm công nạm Server Management Studio giúp kết nối và thống trị SQL server trên giao diện giao diện thay vì cần dùng tới mẫu lệnh. Ngoài ra còn có các công cụ khác ví như là SQL hệ thống Power
Shell, SQL hệ thống profiler, …

Bước 1: con quay trở lại màn hình hiển thị “SQL hệ thống Installation Center

Chọn “Install SQL hệ thống Management Tools

*

Bước 2: Nó vẫn dẫn bạn tới 1 trang download SQL server Management Studio

Chọn phiên phiên bản phù hòa hợp và bấm chuột “Download SQL server Management Studio xxx

*

Bước 3: sau khi download, click chuột file thiết đặt => Bấm button < Install > để tiến hành cài đặt

*

Bước 4: Kết thúc thiết lập bấm < Restart > để restart lại server, ngừng quả trình tải đặt.

*

Kết nối tới Microsoft SQL vps 2016

Để kết nối tới Microsoft SQL server 2016, mở công cụ SQL hệ thống Management Studio mà bọn họ đã cài đặt ở mặt trên.