To rebuild the master database
Shutdown Microsoft® SQL Server™ 2000, and then run Rebuildm.exe. This is located in the Program Files\Microsoft SQL Server\80\Tools\Binn directory.
In the Rebuild Master dialog box, click Browse.
In the Browse for Folder dialog box, select the \Data folder on the SQL Server 2000 compact disc or in the shared network directory from which SQL Server 2000 was installed, and then click OK.
Click Settings. In the Collation Settings dialog box, verify or change settings used for the master database and all other databases.
Initially, the default collation settings are shown, but these may not match the collation selected during setup. You can select the same settings used during setup or select new collation settings. When done, click OK.
In the Rebuild Master dialog box, click Rebuild to start the process.
The Rebuild Master utility reinstalls the master database.
To start a named instance of SQL Server in single-user mode from a command prompt
From a command prompt, enter:
sqlservr.exe -c - m -s {instancename}
To start the default instance of SQL Server in single-user mode from a command prompt
From a command prompt, enter:
sqlservr.exe -c -m
Note You must switch to the appropriate directory (for the instance of Microsoft® SQL Server™ you want to start) in the command window before starting sqlservr.exe.
To start the default instance of SQL Server from a command prompt
From a command prompt, enter:
sqlservr.exe -c
Note You must switch to the appropriate directory (for the instance of Microsoft® SQL Server™ you want to start) in the command window before starting sqlservr.exe.
start the default instance of SQL Server with minimal configuration
From a command prompt, enter the following command to start the default instance of Microsoft® SQL Server™ as a service:
sqlservr -c -f
Note You must switch to the appropriate directory (for the instance of SQL Server you want to start) in the command window before starting sqlservr.exe.
To start a named instance of SQL Server with minimal configuration
From a command prompt, enter the following command to start a named instance of Microsoft® SQL Server™ 2000 as a service:
sqlservr -c -f -s {instancename}
Note You must switch to the appropriate directory (for the instance of SQL Server you want to start) in the command window before starting sqlservr.exe.
Shutdown Microsoft® SQL Server™ 2000, and then run Rebuildm.exe. This is located in the Program Files\Microsoft SQL Server\80\Tools\Binn directory.
In the Rebuild Master dialog box, click Browse.
In the Browse for Folder dialog box, select the \Data folder on the SQL Server 2000 compact disc or in the shared network directory from which SQL Server 2000 was installed, and then click OK.
Click Settings. In the Collation Settings dialog box, verify or change settings used for the master database and all other databases.
Initially, the default collation settings are shown, but these may not match the collation selected during setup. You can select the same settings used during setup or select new collation settings. When done, click OK.
In the Rebuild Master dialog box, click Rebuild to start the process.
The Rebuild Master utility reinstalls the master database.
To start a named instance of SQL Server in single-user mode from a command prompt
From a command prompt, enter:
sqlservr.exe -c - m -s {instancename}
To start the default instance of SQL Server in single-user mode from a command prompt
From a command prompt, enter:
sqlservr.exe -c -m
Note You must switch to the appropriate directory (for the instance of Microsoft® SQL Server™ you want to start) in the command window before starting sqlservr.exe.
To start the default instance of SQL Server from a command prompt
From a command prompt, enter:
sqlservr.exe -c
Note You must switch to the appropriate directory (for the instance of Microsoft® SQL Server™ you want to start) in the command window before starting sqlservr.exe.
start the default instance of SQL Server with minimal configuration
From a command prompt, enter the following command to start the default instance of Microsoft® SQL Server™ as a service:
sqlservr -c -f
Note You must switch to the appropriate directory (for the instance of SQL Server you want to start) in the command window before starting sqlservr.exe.
To start a named instance of SQL Server with minimal configuration
From a command prompt, enter the following command to start a named instance of Microsoft® SQL Server™ 2000 as a service:
sqlservr -c -f -s {instancename}
Note You must switch to the appropriate directory (for the instance of SQL Server you want to start) in the command window before starting sqlservr.exe.
No comments:
Post a Comment