Home Database Mysql Tutorial SQL Server 2008安装部署文档

SQL Server 2008安装部署文档

Jun 07, 2016 pm 04:08 PM

SQL Server 2008安装注意事项: 如果你要安装的是64位的服务器,并且是新机器。那么请注意,你需要首先需要给64位系统安装一个.n

SQL Server 2008安装注意事项:

如果你要安装的是64位的服务器,并且是新机器。那么请注意,你需要首先需要给64位系统安装一个.net framework,如果已经安装此功能,请略过这一步。

具体安装.net framework的方法是:在图标我的电脑>上右击选择管理>,打开以后选择功能>选项卡,如下图所示,然后点击添加功能,勾选..net framework,然后一直点击下一步安装即可。

SQL Server 2008安装部署文档

安装的过程中,需要注意如果你要安装的服务器有外挂或者附加的磁盘,最好把数据库安装到那。因为数据库如果安装在系统盘的默认目录下,那么以后如果需要生成快照,或者备份等业务的默认路径也在系统盘上。如果硬盘的io处理能力不是很强,当你处理特别大的数据库的时候,有可能会造成磁盘io瓶颈,导致系统无响应,进而影响业务,甚至系统假死。

安装步骤:

1.在安装包中启动安装程序

进入安装界面。

2.点击安装>,然后选择全新sqlserver独立安装或向现有安装添加功能>

SQL Server 2008安装部署文档

3.然后点下一步会跳转到安装程序支持规则>界面,这时请注意箭头方向。

SQL Server 2008安装部署文档

  如果这一项后边的状态>显示的是‘未通过’,也就是说检测到需要你重新启动计算机,

但是由于服务器上可能会有其他业务,如果重启会对其他程序或者业务造成影响,所以我们需要用另一种方式解决。

打开注册表

删除注册表HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager下的PendingFileRenameOperations子键即可让这一项的状态变成‘已通过’。

然后点击确定>进入下一步。

4.点击下一步,进入到安装类型>界面。

SQL Server 2008安装部署文档

如果是新服务器,没有安装过sqlserver2008,那么这里会生成一个默认为mssqlserver的实例名。

5.点击下一步,进入产品密钥界面。

SQL Server 2008安装部署文档

输入产品密钥,然后点击下一步(如果没有可以上网搜一个)。

6.现在进入功能选择界面,这里主要是添加数据库实例的功能,一般我们需要勾选下图中画红线的功能。(由于我已经安装过一个实例,在不同实例间,有的功能可以共享,所以有的地方对勾是灰色的,不需要再次安装,公司如果用不到ssas和ssrs 那reporting services 和analysis services不需要装)。

SQL Server 2008安装部署文档

7.点击下一步到实例配置的界面,这里会默认生成一个mssqlserver的实例名字(如果你要安装的服务器已经安装过sqlserver2008那么在这里你需要重新给新实例起另一个名字,实例的名字会体现在系统的服务里边,所以起名请谨慎考虑)。

8.下一步进入服务器配置,

SQL Server 2008安装部署文档

在箭头位置,Sqlserver代理这里默认是‘手动’,我们需要改成‘自动’。然后点击画红圈的位置---‘对所有sqlserver服务使用相同的账户’。在‘账户名’选项中点击下拉菜单,选择‘NT AUTHORITY\SYSTEM’,默认用系统用户启动,然后点击下一步。

SQL Server 2008安装部署文档

9.在数据库引擎配置界面中,首先需要在身份验证模式中选择‘混合模式(sqlserver身份验证和windows身份验证)’,然后在下边填写一个sa账户的密码。(这里注意sa为sqlserver最高权限的账户,设置密码需要复杂,严谨,同时在密码里边不要带有一些’%’,’&’,’|’,’\’等在程序有转译意思的符号)。同时点击‘添加当前用户’把系统账户也添加到数据库中。

SQL Server 2008安装部署文档

10.然后一直点击下一步直到安装完毕。

11.安装好以后,需要给数据库打一个的补丁。如果你是32位的系统,那么就找x86的补丁包,如果是64位的系统,那么就找x64的补丁包,如下图。(安装补丁只需要注意安装完毕以后,有的服务器可能会提示需要重新启动计算机才能启用此服务的字样,如果遇到一般情况下没有必要重启也可以正常使用,如果重启请确认不会影响其他的业务。)

SQL Server 2008安装部署文档

SQL Server 2008安装部署文档

数据库端口配置(如果是默认端口或者不需要配置端口请自动滤过下边步骤)

1. 补丁打完后,启动sqlserver  management stdio 数据库管理客户端。新建一个查询,,输入 print @@version。看一下是否打上了补丁。

SQL Server 2008安装部署文档

如果画红线的位置是sp2(或者其他补丁),说明已经打好了sp2的补丁。

2.点击开始>找到sqlserver2008选择配置工具>里的配置管理器>

SQL Server 2008安装部署文档

在这里你会看到sqlserver服务和相关的网络配置。我们需要在这里更改数据库的端口。

点击网络配置>,点击你的刚才生成的实例名,进入到配置界面。

SQL Server 2008安装部署文档

再点击TCP/IP选项进入端口配置。

SQL Server 2008安装部署文档

在协议>选项卡中,需要把全部监听>改为’否’。然后配置地址>这一栏。

SQL Server 2008安装部署文档

在ip地址栏中,画红线的位置是需要修改的。

SQL Server 2008安装部署文档

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

When might a full table scan be faster than using an index in MySQL? When might a full table scan be faster than using an index in MySQL? Apr 09, 2025 am 12:05 AM

Full table scanning may be faster in MySQL than using indexes. Specific cases include: 1) the data volume is small; 2) when the query returns a large amount of data; 3) when the index column is not highly selective; 4) when the complex query. By analyzing query plans, optimizing indexes, avoiding over-index and regularly maintaining tables, you can make the best choices in practical applications.

Can I install mysql on Windows 7 Can I install mysql on Windows 7 Apr 08, 2025 pm 03:21 PM

Yes, MySQL can be installed on Windows 7, and although Microsoft has stopped supporting Windows 7, MySQL is still compatible with it. However, the following points should be noted during the installation process: Download the MySQL installer for Windows. Select the appropriate version of MySQL (community or enterprise). Select the appropriate installation directory and character set during the installation process. Set the root user password and keep it properly. Connect to the database for testing. Note the compatibility and security issues on Windows 7, and it is recommended to upgrade to a supported operating system.

Explain InnoDB Full-Text Search capabilities. Explain InnoDB Full-Text Search capabilities. Apr 02, 2025 pm 06:09 PM

InnoDB's full-text search capabilities are very powerful, which can significantly improve database query efficiency and ability to process large amounts of text data. 1) InnoDB implements full-text search through inverted indexing, supporting basic and advanced search queries. 2) Use MATCH and AGAINST keywords to search, support Boolean mode and phrase search. 3) Optimization methods include using word segmentation technology, periodic rebuilding of indexes and adjusting cache size to improve performance and accuracy.

Difference between clustered index and non-clustered index (secondary index) in InnoDB. Difference between clustered index and non-clustered index (secondary index) in InnoDB. Apr 02, 2025 pm 06:25 PM

The difference between clustered index and non-clustered index is: 1. Clustered index stores data rows in the index structure, which is suitable for querying by primary key and range. 2. The non-clustered index stores index key values ​​and pointers to data rows, and is suitable for non-primary key column queries.

What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)? What are some popular MySQL GUI tools (e.g., MySQL Workbench, phpMyAdmin)? Mar 21, 2025 pm 06:28 PM

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

How do you handle large datasets in MySQL? How do you handle large datasets in MySQL? Mar 21, 2025 pm 12:15 PM

Article discusses strategies for handling large datasets in MySQL, including partitioning, sharding, indexing, and query optimization.

MySQL: Simple Concepts for Easy Learning MySQL: Simple Concepts for Easy Learning Apr 10, 2025 am 09:29 AM

MySQL is an open source relational database management system. 1) Create database and tables: Use the CREATEDATABASE and CREATETABLE commands. 2) Basic operations: INSERT, UPDATE, DELETE and SELECT. 3) Advanced operations: JOIN, subquery and transaction processing. 4) Debugging skills: Check syntax, data type and permissions. 5) Optimization suggestions: Use indexes, avoid SELECT* and use transactions.

The relationship between mysql user and database The relationship between mysql user and database Apr 08, 2025 pm 07:15 PM

In MySQL database, the relationship between the user and the database is defined by permissions and tables. The user has a username and password to access the database. Permissions are granted through the GRANT command, while the table is created by the CREATE TABLE command. To establish a relationship between a user and a database, you need to create a database, create a user, and then grant permissions.

See all articles