This software is "only for learning and communication, not for commercial purposes". If it is used for commercial purposes, please go to the official to purchase the genuine software, and the legal responsibilities have nothing to do with this site.
Software introduction
SQL Server is a relational database management system launched by Microsoft. Microsoft SQL Server is a comprehensive database platform that uses integrated business intelligence (BI) tools to provide enterprise-level data management. The Microsoft SQL Server database engine provides more secure and reliable storage functions for relational and structured data, allowing you to build and manage highly available and high-performance data applications for business.
download link
Old rules, click on the resource platform at the bottom of the official account (Yuyu Internet), or click to read the original text at the bottom of the article, and search directly after entering: SQL
Installation stepsOne. JDK installation and environment variable configuration
1. Double-click to open jdk-8u131 for 64-bit system.exe
2. Click Next
3. Click Change to choose the installation path by yourself. I installed it to Disk D here, so just change the letter C to D, and then copy the changed installation path (use the shortcut key Ctrl+C when copying), you can copy The later installation path is saved in Notepad, which is needed when configuring environment variables later . The copied installation path is D:\Program Files\Java\jdk1.8.0_131\
4. Wait for installation
5. It is recommended to create a new folder jre1.8 under the D:\Program Files\Java folder (because I chose to install it on the D drive before), if you have installed it on another drive before, you can use the other drive Program Files\Java Create a new folder jre1.8 under the folder. Then click Change to select the newly created jre1.8 folder, and then click Next
6. Wait for installation
7. Click close
8. Configure environment variables after installing JDK. Right-click on "Computer". Click "Properties"
9. Click "Advanced System Settings"
10. Click "Advanced", then click "Environment Variables"
11.点击新建。变量名输入JAVA_HOME,变量值输入安装步骤第3步复制后的安装路径。D:\Program Files\Java\jdk1.8.0_131\
12.点击新建。变量名输入CLASSPATH变量值输入.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar
13.在系统变量中找到Path,点击编辑。变量值输入%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
最后记得点击确定
14.检查JDK是否安装成功。同时按键盘上的“WIN键+R键”。输入“cmd”。点击确定
15.输入命令:java -version(java 和 -version 之间有空格),java,javac 这三个命令(都要试一下,只要有一个出现失败情况,就说明JDK环境配置失败)。都显示正常,说明配置成功!
输入java -version时,成功图示如下:
输入java时, 成功图示如下:
输入javac 时, 成功图示如下:
二:安装SQL Server 2016
1.Windows10可以直接双击打开
2.双击“setup.exe”文件
3.点击“安装”。再点击“全新SQL Server独立安装或向现有安装功能”
4.密钥是自动填写的,如果没有自动填写那就需要手动输入“MDCJV-3YX8N-WG89M-KV443-G8249”。点击“下一步”
5.选择“我接受许可条款”,点击“下一步”
6.点击“下一步”
7.点击“下一步”
8.等待状态显示“已完成”。会自动进入下一个页面
9.点击“下一步”
10.点击“全选”。建议把Microsoft SQL Server软件安装到除C盘以外的磁盘,我这里安装到D盘,可以在D盘下新建有一个文件夹命名为“Microsoft SQL Server”,然后选择文件夹,点击“下一步”
11. The default selection, click "Next"
12. The default selection, click "Next"
13. Default selection, click "Next"
14. Click "Add current user", then click "Next"
15. Click "Add Current User". Click "Next"
16. The default selection, you can click "Next"
17. Click "Add current user", then click "Next"
18. It is recommended to install the working directory and the result directory to the D drive. You can create two new folder names under the D drive and select the folder. Click "Next"
19. Click "Accept"
20. Click "Next"
21. Confirm that there is no error in the installation function and configuration path, then click "Install"
22. Wait for the installation to complete, the installation process is relatively long, so be patient
23. "Success" appears in the status, indicating that the installation has no errors. Click "Close". Then "restart the computer
24. Find "Reporting Services Configuration..." in all programs, and click Run
25. Click "Connect"
26. Check whether the "Current Report Server" is running normally. The window can be closed after normal operation. If it is not running, you need to click "Start"
27. Find "SQL Server 2016 Date Q..." in all programs, and click Run
28. When "Do you want to continue? [Yes/No]" appears, enter Chinese "Yes" and press "Enter", when "Please enter a password for the database master key" appears, enter a password of more than 8 digits . A password with a combination of English letters, symbols, and numbers is required to pass. After inputting, press "Enter"
29. The following interface will appear. It takes a long time to wait patiently
30. When "press any key to continue" appears. You can press a key on the keyboard at will and the window will automatically close.
31. Find "SQL Server 2016 Date Q..." in all programs
32. Click the drop-down box to select "LOCAL". Then click "Connect
33. Installation is complete