Windows7 installs sql server 2000 installation steps and the problems and solutions encountered in the installation process

Reminder: after the article is finished, the steps of installing sql server 2000 on windows 7 and the problems and solutions encountered during the installation process,


1. What is ms sql server 2000?

SQL Server is a relational database management system, which was originally jointly developed by Microsoft Sybase and Ashton-Tate, and the first OS/2 version was launched in 1988. After the introduction of Windows NT, Microsoft and Sybase parted ways in the development of SQL Server. Microsoft transplanted SQL Server to the Windows NT system, focusing on the development and promotion of the Windows NT version of SQL Server; Sybase focused more on the application of SQL Server on the UNIX operating system. What is introduced in this book is Microsoft SQL Server, hereafter referred to as SQL Server or MS SQL Server.

**

Version introduction:

**
insert image description here

Features:

1. Internet integration
2. Scalability and availability
3. Enterprise database function
4. Easy to install, deploy and use

advantage:

1. High-performance design can make full use of the advantages of WindowsNT.
2. Advanced system management, supports Windows graphical management tools, supports local and remote system management and configuration.
3. Strong transaction processing function, using various methods to ensure data integrity.
4. It supports symmetric multiprocessor structure, stored procedures, ODBC, and has its own SQL language. With its built-in data replication function, powerful management tools, tight integration with the Internet and open system structure, SQL Server provides an outstanding database platform for users, developers and system integrators.

Two, steps

1. Download the installation package and Sq4 patch package

2. Install ms sql server 2000 personal edition

Server system: win7 64 bit

Step 1: Delete previous installation-related files and the registry.
First, if it was installed before, it must be deleted.
1. Delete the original sqlserver installation directory C:\Program Files\microsoft SQL Server
2. Delete all SQLServer-related registry to ensure that the system is in a state where SQLServer has not been installed. Open the registry:
start – run – regedit
insert image description here

Click OK or press the Enter key directly:
insert image description here

Then find the following directory to delete
1).HKEY_CURRENT_USER\Software\Miocrosoft\Microsoft SQL Server folder delete
insert image description here

2). Delete the HKEY_CURRENT_USER\Software\Miocrosoft\mssqlserver folder

3). Delete the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server folder
. In a word, delete all SqlServer related files . Then restart the machine to start the installation.

Step 2: Decompress the installation package
insert image description here
After downloading and decompressing SQL Server 2000 Personal Edition , you will get the following file, find "SETUP.BAT", right-click - Properties, and check "Run this program in compatibility mode"

insert image description here

Then right click to run "SETUP.BAT" as an administrator, a compatibility prompt will pop up here, just click "Run Program"

insert image description here

Now let us officially start the installation steps of sql2000 (if the program is not running normally, we can double-click "SETUP.BAT")
insert image description here

Here everyone directly defaults to "local computer", click "next"
insert image description here

Special note
: If you are prompted during installation here: A previous program installation has created a pending file operation on the installation computer, please follow the steps below to install it normally Open the
Registry Editor and go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control \Session Manager find the PendingFileRenameOperations item and delete it. This clears the installation pending items.
Delete the keys related to sql server in the registry.
This is also the default, directly "Next"
insert image description here

Here you only need to simply fill in your personal information, "Next"
insert image description here

Without further ado, just confirm the agreement and click "Yes"
insert image description here

This is also the default, select the server and client tools
insert image description here

Instance name: the default is fine, the next step...

insert image description here

Select the installation type and installation directory:
Among them,
1. Typical: typical is all installation,
2. Minimal: the smallest is only the basic functions are installed,
3. Custom: the ones that can be customized can be customized...
The installation directory can also be adjusted freely, However, it is better to install the two directories in one drive letter (same as C drive or same D drive)

insert image description here

When I install, here is a typical installation directly, and the directory is on the C drive. We can choose the installation directory according to the actual situation during installation.

Server Account Settings: Select "Use Local System Account"

insert image description here

Select the authentication mode and set the sa login password

insert image description here

Finally almost finished, click "Next", and then you can start the installation

insert image description here

Note: There may be an error prompt here. If there is an error prompt when you install it, just click "OK" to ignore it. If there is still a pop-up window after clicking OK once, we can continue to click OK.

The installation time is not too long, just wait patiently for a while

insert image description here
Victory is just around the corner~~
insert image description here

3. Install sp4 patch

Open the sq4 patch and find "setup.bat".
Similarly, we right-click to open the compatibility setting
insert image description here

Also run the "setup.bat" file, prompt compatibility issues, click "Run Program"

insert image description here

The SP4 patch installation interface will pop up:

insert image description here
Accept the agreement, click "Yes", the next step
insert image description here

Select the verification mode, here you can try your sa password...

insert image description here

This password verification process is also very fast

insert image description here
After the verification is complete, this window will pop up, check "Upgrade SQL Server 2000 SP4..." and click "Continue"

insert image description here
Just click "OK"
insert image description here

The installer is gathering information
insert image description here

Click "Next" to start the installation
insert image description here

The interface during the SQL Server 2000 SP4 patch installation process...
insert image description here

Prompt you to backup the database, click "OK"
insert image description here

So now the SQL2000 Personal Edition SP4 patch has been installed
insert image description here
Congratulations, at this point, we have completed the installation of ms sql server 2000 and sp4 patch.

Find the Microsoft SQL Server folder in "Start - All Programs", and we can see the related function list
as shown in the figure below:
insert image description here

ms sql server 2000 service manager:
insert image description here

Enterprise Manager for SQL Server 2000:
insert image description here

sql2000 query analyzer
insert image description here


Summarize

Tip: Summary:

1. The computer that has installed sql server must be cleaned and then reinstalled.
2. After installing sql server, the sq5 patch must be installed.
3. The client and server must be installed at the same time, so that it can be used normally later.
4. It can be used in the resource manager Menu to manually create a database, right-click the database, and then click New Database, enter the database name in the new database, (Note: If you want to create a database by accepting all default values, please click "OK"; otherwise, please continue 5.
insert image description here
You can also create a database by running sql statements.
6. Database modification:
1) Expand the database, right-click the database to be modified, and then click Properties
2) Change database properties
3) Confirm the selection Select the correct database, and then click OK
7. Database deletion:
1) Expand the database, right-click the database to be deleted, and then click Delete
2) Confirm that the correct database is selected, and then click OK
Note: Delete When using the database, we need to right-click the task first, detach it to achieve the offline state, and then delete it.
8. Database backup and restore:
SQL Server backup and restore components provide basic security for protecting key data stored in SQL Server databases. To minimize the risk of catastrophic data loss, you need to regularly back up your database to preserve modifications made to the data. A well-planned backup and restore strategy can help protect your database from data loss due to various failures. Test your strategy by restoring a set of backups and then recovering the database so that you are prepared to effectively deal with problems encountered later.

1. Backup category:

1) Differential backup (differential backup)
2) Full backup (full backup)
3) Differential backup is to back up data that was not backed up between the last time and this time.
4) log log backup

2. Backup operation steps:
1) Expand "Database", and then select the user database according to the database, or expand "System Database", and then select the system database.
2) Right-click the database, point to "Tasks", and then click "Backup". The Backup Database dialog box appears.
3) In the "Database" list box, verify the database name. You can also choose another database from the list.
4) Database backups can be performed for any recovery mode (FULL, BULK_LOGGED or SIMPLE).
5) In the "Backup Type" list box, select "Full".

3. Restore operation steps:
1) Expand "Database". Depending on the database, select a user database, or expand System Databases and select a system database.
2) Right-click the database, point to Tasks, point to Restore, and click Database, which will open the Restore Database dialog.
3) On the General page, use the Source section to specify the source and location of the backup set to restore.
4) Click OK.

Guess you like

Origin blog.csdn.net/YHLSunshine/article/details/129216800
Recommended