MS SQL 完全卸载数据库
卸载SQL SERVER 数据库可能很多人都做过,但是我们需要注意,有时候可能没有完全卸载干净。当然SQL SERVER不像ORACLE数据库,卸载不干净也完全可以重新安装,可能会出现安装不成功的情况,那么如何完全卸载数据库呢?下面的操作环境以WIN2008 + SQL SERVER 2
卸载SQL SERVER 数据库可能很多人都做过,但是我们需要注意,有时候可能没有完全卸载干净。当然SQL SERVER不像ORACLE数据库,卸载不干净也完全可以重新安装,可能会出现安装不成功的情况,那么如何完全卸载数据库呢?下面的操作环境以WIN2008 + SQL SERVER 2008 R2为例来实验一下:
步骤1: 关闭SQL SERVER的所有服务。
步骤2: 若要开始卸载过程,请从“开始”菜单单击“控制面板”,然后双击“程序和功能”。选择要卸载的 SQL Server 组件,然后单击“卸载”。
步骤3: 此时将启动 SQL Server 安装向导,点击Remove按钮,即可开始卸载SQL SERVER 2008了。
步骤4: 如图所示,点击下一步(Next)即可,如果在服务器上有多个实例,你可以在下拉列表中选择需要卸载的数据库实例。
步骤5: 选择要卸载的组件。一般默认选择全部。这样你就可以删除所有组件。
步骤6: 点击下一步。
步骤7: 在“准备卸载”页上查看要卸载的组件和功能的列表。接下来“安装进度”页将显示安装状态。最后在“完成安装”页上单击“关闭”退出安装向导。
步骤8: 删除成功,重复步骤 2-7,直到删除所有 SQL Server 2008 组件。
执行上面步骤后,你需要在控制面板查看是否还有没有删除的SQL SERVER组件,然后手工卸载下面一些目录:
C:\Program Files\Microsoft SQL Server
C:\Program Files (x86)\Microsoft SQL Server
然后是清除注册表信息
(1) 删除以下注册表子项:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Microsoft SQL Server
(在我的操作中,注册表中没有看到下面信息,应该是卸载时,已经被清除了)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLServer
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLSERVER AGENT
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SQLBrowser
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSSQLServerADHelper100
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSSQLServerOLAPService
在系统为WIN7的SQL SERVER 2008下,我们还可以看到下面一些注册表的信息,如果你看到它的存在,也要清除这些注册表信息。
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server 2005 Redist
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server 2008 Redist
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server Compact Edition
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server Native Client 10.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Sync Framework
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Sync Services
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Sync Services ADO
(2) 如果有安装Microsoft Search 服务,还需要删除:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Search
(3) 卸载Microsoft 全文查询(没有安装则不需要),虚拟主机,虚拟主机,还需要删除:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSFTPSVC
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSCNTRS
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSEARCH
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSGATHERVER
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSGTHRSVC
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSINDEX

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Go language is an efficient, concise and easy-to-learn programming language. It is favored by developers because of its advantages in concurrent programming and network programming. In actual development, database operations are an indispensable part. This article will introduce how to use Go language to implement database addition, deletion, modification and query operations. In Go language, we usually use third-party libraries to operate databases, such as commonly used sql packages, gorm, etc. Here we take the sql package as an example to introduce how to implement the addition, deletion, modification and query operations of the database. Assume we are using a MySQL database.

233 Paradise is an open social application that uses a new recommendation form to accurately recommend the most suitable games for you. So how do you uninstall the mini-games in 233 Paradise? What is the procedure for uninstalling mini-games in 233 Paradise? Let the editor give you the answer below! How to uninstall the mini-games in 233 Paradise? 1. Open the 233 Paradise application and click the "Download" button. 2. Select the mini-game you want to uninstall and click on these three dots. 3. Click the "Delete" button. 4. Confirm the deletion.

Hibernate polymorphic mapping can map inherited classes to the database and provides the following mapping types: joined-subclass: Create a separate table for the subclass, including all columns of the parent class. table-per-class: Create a separate table for subclasses, containing only subclass-specific columns. union-subclass: similar to joined-subclass, but the parent class table unions all subclass columns.

Apple's latest releases of iOS18, iPadOS18 and macOS Sequoia systems have added an important feature to the Photos application, designed to help users easily recover photos and videos lost or damaged due to various reasons. The new feature introduces an album called "Recovered" in the Tools section of the Photos app that will automatically appear when a user has pictures or videos on their device that are not part of their photo library. The emergence of the "Recovered" album provides a solution for photos and videos lost due to database corruption, the camera application not saving to the photo library correctly, or a third-party application managing the photo library. Users only need a few simple steps

HTML cannot read the database directly, but it can be achieved through JavaScript and AJAX. The steps include establishing a database connection, sending a query, processing the response, and updating the page. This article provides a practical example of using JavaScript, AJAX and PHP to read data from a MySQL database, showing how to dynamically display query results in an HTML page. This example uses XMLHttpRequest to establish a database connection, send a query and process the response, thereby filling data into page elements and realizing the function of HTML reading the database.

Widgets are a new feature of the Win11 system. They are turned on by default. However, it is inevitable that some users do not use widgets very much and want to disable them because they take up space. So how should they do this? The editor below will teach you how to operate it, and you can try it out. What are widgets? Widgets are small cards that display dynamic content from your favorite apps and services on your Windows desktop. They appear on the widget board, where you can discover, pin, unpin, arrange, resize, and customize widgets to reflect your interests. The widget board is optimized to display relevant widgets and personalized content based on usage. Open the widget panel from the left corner of the taskbar, where you can see live weather

How to use MySQLi to establish a database connection in PHP: Include MySQLi extension (require_once) Create connection function (functionconnect_to_db) Call connection function ($conn=connect_to_db()) Execute query ($result=$conn->query()) Close connection ( $conn->close())

To handle database connection errors in PHP, you can use the following steps: Use mysqli_connect_errno() to obtain the error code. Use mysqli_connect_error() to get the error message. By capturing and logging these error messages, database connection issues can be easily identified and resolved, ensuring the smooth running of your application.
