<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SQL Server Uninstallation - Techyaz.com</title>
	<atom:link href="https://techyaz.com/tag/sql-server-uninstallation/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Tips, Tutorials and How-to Topics</description>
	<lastBuildDate>Fri, 01 Jun 2018 12:06:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://techyaz.com/wp-content/uploads/2017/11/cropped-Site-icon-150x150.png</url>
	<title>SQL Server Uninstallation - Techyaz.com</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>SQL Server Evaluation Period has Expired and How to Upgrade it?</title>
		<link>https://techyaz.com/sql-server/sql-server-evaluation-period-has-expired-and-how-to-upgrade-it/</link>
					<comments>https://techyaz.com/sql-server/sql-server-evaluation-period-has-expired-and-how-to-upgrade-it/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Tue, 13 Mar 2018 12:00:05 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Administration]]></category>
		<category><![CDATA[SQL Server UPGRADE]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[License key]]></category>
		<category><![CDATA[SQL Server Uninstallation]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1927</guid>

					<description><![CDATA[<p>Generally, we download SQL Server evaluation edition to learn or do some testing before deployments. Evaluation edition of SQL Server is free for 180 days and it is equivalent to SQL Server Enterprise Version. If the validity of Evaluation period&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-evaluation-period-has-expired-and-how-to-upgrade-it/">SQL Server Evaluation Period has Expired and How to Upgrade it?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Generally, we download SQL Server evaluation edition to learn or do some testing before deployments. Evaluation edition of SQL Server is free for 180 days and it is equivalent to SQL Server Enterprise Version. If the validity of Evaluation period i.e. 180 days will exceed then SQL Server will shut down and will not come online. We need to activate this SQL Server instance to a licensed version if we want to keep it running. Here, I will show you how to upgrade SQL Server Evaluation edition to Enterprise, Standard or Developer edition in step by step process.</p>
<p>Recently, one of the SQL Server Instance suddenly stopped working and shutdown automatically. We failed to bring its services online. Even we were not able to launch SQL Server Management studio. When we checked windows event viewer, we had seen multiple event ids for SQL Server like Event ID 7024, Event ID 17051 etc. We got this error because SQL Server evaluation period has expired for this instance.</p>
<p>As I said, SQL Server was down and I tried starting it from SQL Server Configuration Manager. It never come online so I decided to check Windows event viewer. I saw event id 7024 that says something wrong with application SQL Server. You can see the screenshot of event id 7024.</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter size-large wp-image-1928" src="http://techyaz.com/wp-content/uploads/2018/03/1-Event-Viewer-Error-min-1024x327.png" alt="Event ID 7024" width="1024" height="327" srcset="https://techyaz.com/wp-content/uploads/2018/03/1-Event-Viewer-Error-min-1024x327.png 1024w, https://techyaz.com/wp-content/uploads/2018/03/1-Event-Viewer-Error-min-300x96.png 300w, https://techyaz.com/wp-content/uploads/2018/03/1-Event-Viewer-Error-min-768x246.png 768w, https://techyaz.com/wp-content/uploads/2018/03/1-Event-Viewer-Error-min.png 1073w" sizes="(max-width: 1024px) 100vw, 1024px" /></p>
<p>We can see error 17051 is captured for SQL Server in above screenshot. When I scrolled next error details I saw below details with event id 17051 that says “<em>SQL Server evaluation period has expired</em>”. When you look into SQL Server error log, you will get below details.</p>
<p><span style="color: #ff0000;"><strong>Error: 17051, Severity: 16, State: 1</strong>.</span><br />
<span style="color: #ff0000;"> <strong>SQL Server evaluation period has expired.</strong></span></p>
<p><img decoding="async" class="aligncenter size-full wp-image-1934" src="http://techyaz.com/wp-content/uploads/2018/03/2-Event-Viewer-Error-min.png" alt="SQL Server Evaluation Period has expired" width="955" height="231" srcset="https://techyaz.com/wp-content/uploads/2018/03/2-Event-Viewer-Error-min.png 955w, https://techyaz.com/wp-content/uploads/2018/03/2-Event-Viewer-Error-min-300x73.png 300w, https://techyaz.com/wp-content/uploads/2018/03/2-Event-Viewer-Error-min-768x186.png 768w" sizes="(max-width: 955px) 100vw, 955px" /></p>
<p>Then I decided to check the installed version of SQL Server that clearly says that we had installed SQL Server Evaluation version on this database server. You can get it by launching property window of SQL Server service in SQL Server Configuration Manager. You can see this in below screenshot.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-1935" src="http://techyaz.com/wp-content/uploads/2018/03/3-Event-Viewer-Error-min.png" alt="Evaluation Edition in Service Property Window" width="431" height="501" srcset="https://techyaz.com/wp-content/uploads/2018/03/3-Event-Viewer-Error-min.png 431w, https://techyaz.com/wp-content/uploads/2018/03/3-Event-Viewer-Error-min-258x300.png 258w" sizes="(max-width: 431px) 100vw, 431px" /></p>
<p>Now we had to upgrade SQL Server evaluation edition to bring it online and make it work as it was working before. To start this, we need SQL Server setup files to perform this upgrade. Follow below steps to activate your expired SQL Server evaluation version to either standard, enterprise or developer edition.</p>
<h3><span style="color: #333399;">Upgrade SQL Server Evaluation Edition to Enterprise Edition</span></h3>
<p>First decide on which edition you want to upgrade your expired SQL Server evaluation edition instance. Copy identified edition of SQL Server setup files to the target or impacted SQL Server machine. Now we will launch SQL Server Installation Center to run this upgrade. Make sure to run this whole process using sysadmin account.</p>
<p>Double click on Setup.exe file to start the upgrade. You will get <strong>SQL Server Installation Center</strong> once you run setup.exe file of SQL Server setup. Click at “<strong>Maintenance</strong>” tab from left side pane as shown in below image and then click on “<strong>Edition Upgrade”</strong> option from right side pane.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1936" src="http://techyaz.com/wp-content/uploads/2018/03/4-SQL-Setup-min.png" alt="SQL Server Installation Center" width="798" height="598" srcset="https://techyaz.com/wp-content/uploads/2018/03/4-SQL-Setup-min.png 798w, https://techyaz.com/wp-content/uploads/2018/03/4-SQL-Setup-min-300x225.png 300w, https://techyaz.com/wp-content/uploads/2018/03/4-SQL-Setup-min-768x576.png 768w" sizes="auto, (max-width: 798px) 100vw, 798px" /></p>
<p>Once you click at Edition upgrade, below image will come to proceed. This screen will come to enter the product key of SQL Server. Verify the correct product key and click on next button to proceed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1938" src="http://techyaz.com/wp-content/uploads/2018/03/5-SQL-Setup-min.png" alt="Enter Product key" width="815" height="621" srcset="https://techyaz.com/wp-content/uploads/2018/03/5-SQL-Setup-min.png 815w, https://techyaz.com/wp-content/uploads/2018/03/5-SQL-Setup-min-300x229.png 300w, https://techyaz.com/wp-content/uploads/2018/03/5-SQL-Setup-min-768x585.png 768w" sizes="auto, (max-width: 815px) 100vw, 815px" /></p>
<p>Once you click at next button you will get below pop up “<em>Evaluation period has expired</em>”. Click on Ok button to proceed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1939" src="http://techyaz.com/wp-content/uploads/2018/03/6-SQL-Setup-min.png" alt="Pop up evaluation period has expired" width="819" height="617" srcset="https://techyaz.com/wp-content/uploads/2018/03/6-SQL-Setup-min.png 819w, https://techyaz.com/wp-content/uploads/2018/03/6-SQL-Setup-min-300x226.png 300w, https://techyaz.com/wp-content/uploads/2018/03/6-SQL-Setup-min-768x579.png 768w" sizes="auto, (max-width: 819px) 100vw, 819px" /></p>
<p>Next screen will come to accept the License Terms. Click at Next button after selecting “<em>I accept license terms</em>” checkbox option.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1940" src="http://techyaz.com/wp-content/uploads/2018/03/7-SQL-Setup-min.png" alt="Accept License Terms" width="823" height="621" srcset="https://techyaz.com/wp-content/uploads/2018/03/7-SQL-Setup-min.png 823w, https://techyaz.com/wp-content/uploads/2018/03/7-SQL-Setup-min-300x226.png 300w, https://techyaz.com/wp-content/uploads/2018/03/7-SQL-Setup-min-768x579.png 768w" sizes="auto, (max-width: 823px) 100vw, 823px" /></p>
<p>Here, you will get installed components of SQL Server. Verify the SQL Server instance and click on next button to proceed. You can see edition is showing as Evaluation in below screenshot.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1941" src="http://techyaz.com/wp-content/uploads/2018/03/8-SQL-Setup-min.png" alt="Instance of SQL Server Installed on this machine" width="821" height="619" srcset="https://techyaz.com/wp-content/uploads/2018/03/8-SQL-Setup-min.png 821w, https://techyaz.com/wp-content/uploads/2018/03/8-SQL-Setup-min-300x226.png 300w, https://techyaz.com/wp-content/uploads/2018/03/8-SQL-Setup-min-768x579.png 768w" sizes="auto, (max-width: 821px) 100vw, 821px" /></p>
<p>Once you will click at Next button, rules will be checked by the setup and you can see the progress bar in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1942 size-full" src="http://techyaz.com/wp-content/uploads/2018/03/9-SQL-Setup-min.png" alt="Check Rules" width="817" height="609" srcset="https://techyaz.com/wp-content/uploads/2018/03/9-SQL-Setup-min.png 817w, https://techyaz.com/wp-content/uploads/2018/03/9-SQL-Setup-min-300x224.png 300w, https://techyaz.com/wp-content/uploads/2018/03/9-SQL-Setup-min-768x572.png 768w" sizes="auto, (max-width: 817px) 100vw, 817px" /></p>
<p>Now it’s time for final window of this upgrade process where you need to recheck and verify the details and if everything looks good then click at “Upgrade” button to start the upgrade process.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1943" src="http://techyaz.com/wp-content/uploads/2018/03/10-SQL-Setup-min.png" alt="Run the upgrade" width="823" height="615" srcset="https://techyaz.com/wp-content/uploads/2018/03/10-SQL-Setup-min.png 823w, https://techyaz.com/wp-content/uploads/2018/03/10-SQL-Setup-min-300x224.png 300w, https://techyaz.com/wp-content/uploads/2018/03/10-SQL-Setup-min-768x574.png 768w" sizes="auto, (max-width: 823px) 100vw, 823px" /></p>
<p>Setup will process and end up with new upgraded edition. You have been activated SQL Server to run it on your server and it has been upgraded to your identified edition of SQL Server i.e Enterprise edition.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1944" src="http://techyaz.com/wp-content/uploads/2018/03/11-SQL-Setup-min.png" alt="Upgraded" width="807" height="621" srcset="https://techyaz.com/wp-content/uploads/2018/03/11-SQL-Setup-min.png 807w, https://techyaz.com/wp-content/uploads/2018/03/11-SQL-Setup-min-300x231.png 300w, https://techyaz.com/wp-content/uploads/2018/03/11-SQL-Setup-min-768x591.png 768w" sizes="auto, (max-width: 807px) 100vw, 807px" /></p>
<p>You can check the upgraded edition by launching property window of SQL Server service in SQL Server Configuration window. We can see now edition is showing as Enterprise Edition. Here, we have upgraded SQL Server evaluation version to Enterprise edition of SQL Server 2014.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1945" src="http://techyaz.com/wp-content/uploads/2018/03/12-SQL-Service-min.png" alt="SQL Server Service Property " width="429" height="503" srcset="https://techyaz.com/wp-content/uploads/2018/03/12-SQL-Service-min.png 429w, https://techyaz.com/wp-content/uploads/2018/03/12-SQL-Service-min-256x300.png 256w" sizes="auto, (max-width: 429px) 100vw, 429px" /></p>
<p>Now you can go ahead and launch SQL Server Management Studio and establish database connection to check and verify all details to make sure everything is ok on your database server.<br />
I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p><em><strong><span style="color: #800000;">Read More:</span></strong></em></p>
<ul>
<li><strong><a href="http://techyaz.com/sql-server/update-license-key-product-key-sql-server-instance/" target="_blank" rel="noopener">How to update License Key or Product Key of SQL Server?</a></strong></li>
<li><strong><a href="http://techyaz.com/sql-server/troubleshooting/fix-sql-server-installation-error-1639/" target="_blank" rel="noopener">Fix SQL Server Installation Error 1639</a></strong></li>
<li><strong><a href="http://techyaz.com/interview-questions/sql-server-dba-interview-questions-answers/" target="_blank" rel="noopener">SQL Server Interview Questions &amp; Answers</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-evaluation-period-has-expired-and-how-to-upgrade-it/">SQL Server Evaluation Period has Expired and How to Upgrade it?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-evaluation-period-has-expired-and-how-to-upgrade-it/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Uninstall SQL Tools from RedHat Linux Server</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-tools-redhat-linux-server/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-tools-redhat-linux-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Tue, 12 Dec 2017 06:05:53 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[bcp]]></category>
		<category><![CDATA[SQL Server Uninstallation]]></category>
		<category><![CDATA[SQL Tools]]></category>
		<category><![CDATA[sqlcmd]]></category>
		<category><![CDATA[uninstallation]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1323</guid>

					<description><![CDATA[<p>I have described how to uninstall SQL Server 2017 running on Redhat Linux server in my last article. Here, i will explain how to remove or uninstall SQL tools (sqlcmd and bcp utilities) from red hat linux machine. Both utilities&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-tools-redhat-linux-server/">How to Uninstall SQL Tools from RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I have described <a href="https://techyaz.com/sql-server/uninstall-sql-server-2017-red-hat-linux-server/" target="_blank" rel="noopener">how to uninstall SQL Server 2017 running on Redhat Linux server</a> in my last article. Here, i will explain how to remove or uninstall SQL tools (sqlcmd and bcp utilities) from red hat linux machine. Both utilities are part of SQL tools package mssql-tools so we need to remove this package mssql-tools in order to uninstall these utilities.</p>
<p><em><strong><span style="color: #800000;">Read More on SQL Server Installation on RHEL</span></strong></em></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/" target="_blank" rel="noopener">How to install SQL Server 2017 on RedHat Linux</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">How to Install SQL Server on Redhat Linux without Internet &#8211; Offline Installation</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/installing-sql-tools-red-hat-linux/" target="_blank" rel="noopener">Install SQL Tools on RedHat Linux using Internet</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-red-hat-linux-server/" target="_blank" rel="noopener">Install SQL Server Agent on RHEL</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-tools-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">Installing SQL tools on RHEL without Internet &#8211; Offline Installation</a></strong></li>
</ul>
<h3><span style="color: #333399;">Uninstall SQL Tools on RHEL</span></h3>
<p>As we know sqlcmd and bcp utilities are part of SQL tools so if you want to uninstall these utilities from red hat linux machine you need to uninstall SQL tools package mssql-tools. Follow below steps to uninstall sqlcmd utility from your redhat linux machine.</p>
<p><strong>1-</strong> Connect to your RHEL server where SQL tools has been installed and running. Check whether SQL tools are installed on this machine or not by checking sqlcmd or bcp utilities. You can see RedHat Linux is recognizing sqlcmd utility that means SQL tools have been installed on this machine that needs to be uninstalled.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1325" src="http://techyaz.com/wp-content/uploads/2017/12/1-check-sqlcmd-min.jpg" alt="check sqlcmd utility" width="674" height="138" srcset="https://techyaz.com/wp-content/uploads/2017/12/1-check-sqlcmd-min.jpg 674w, https://techyaz.com/wp-content/uploads/2017/12/1-check-sqlcmd-min-300x61.jpg 300w" sizes="auto, (max-width: 674px) 100vw, 674px" /></p>
<p><strong>2-</strong> We can see sqlcmd utility in above screenshot. Now, we will uninstall SQL tools by running below command.</p>
<pre><strong><span style="color: #008000;">#Uninstall SQL tools from RHEL</span>
<span style="color: #0000ff;">sudo yum remove mssql-tools
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1326" src="http://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min.jpg" alt="uninstall SQL tools" width="1440" height="769" srcset="https://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min.jpg 1440w, https://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min-300x160.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min-768x410.jpg 768w, https://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min-1024x547.jpg 1024w" sizes="auto, (max-width: 1440px) 100vw, 1440px" /></p>
<p>You can see the details of SQL tools package that is going to be removed from this machine. We can see mssql-tools package is going to be removed here. Above command will ask us to type <strong>y</strong> to proceed with the uninstallation of this package mssql-tools and type <strong>N</strong> to quit this removal.</p>
<p>I entered<strong> y</strong> to uninstall SQL tools from this machine. This will uninstall both utilities sqlcmd and bcp. You can see SQL tools package mssql-tools has been removed from this machine post entering <strong>y</strong> in above screenshot.</p>
<p><strong>3-</strong> Now, we can check sqlcmd or bcp utility again to validate this uninstallation. I typed sqlcmd as i did in first screenshot and pressed enter. Now we can see red hat linux is not recognizing sqlcmd utility, that means SQL tools have been removed from this machine.</p>
<pre><strong><span style="color: #008000;">#check sqlcmd utility post SQL tools uninstallation</span>
<span style="color: #0000ff;">sqlcmd
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1327" src="http://techyaz.com/wp-content/uploads/2017/12/3-recheck-sqlcmd-min.jpg" alt="balidate sqlcmd utility removal" width="906" height="153" srcset="https://techyaz.com/wp-content/uploads/2017/12/3-recheck-sqlcmd-min.jpg 906w, https://techyaz.com/wp-content/uploads/2017/12/3-recheck-sqlcmd-min-300x51.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/3-recheck-sqlcmd-min-768x130.jpg 768w" sizes="auto, (max-width: 906px) 100vw, 906px" /></p>
<p>Here i have shown step by step process to uninstall SQL Tools sqlcmd and bcp from linux machine.</p>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-tools-redhat-linux-server/">How to Uninstall SQL Tools from RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-tools-redhat-linux-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Uninstall SQL Server 2017 from RedHat Linux Server</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Fri, 08 Dec 2017 07:28:04 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server 2017]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[SQL Server Uninstallation]]></category>
		<category><![CDATA[uninstallation]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1307</guid>

					<description><![CDATA[<p>We all know how to install SQL Server 2017 on RedHat Linux. Here I will explain step by step process to uninstall SQL Server 2017 on RedHat Linux 7.3 server. Read More on SQL Server Installation on Linux Servers Installing&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/">How to Uninstall SQL Server 2017 from RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>We all know <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/" target="_blank" rel="noopener">how to install SQL Server 2017 on RedHat Linux</a>. Here I will explain step by step process to uninstall SQL Server 2017 on RedHat Linux 7.3 server.</p>
<p><em><strong><span style="color: #800000;">Read More on SQL Server Installation on Linux Servers</span></strong></em></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-ubuntu-internet-access/" target="_blank" rel="noopener">Installing SQL Server 2017 on Ubuntu Server</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">How to Install SQL Server on Redhat Linux without Internet &#8211; Offline Installation</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-on-ubuntu-server-without-internet-offline-installation/" target="_blank" rel="noopener">How to Install SQL Server on Ubuntu without Internet access &#8211; Offline Installation</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/installing-sql-tools-red-hat-linux/" target="_blank" rel="noopener">Installing SQL Tools on RedHat Linux Server</a></strong></li>
</ul>
<h3><span style="color: #333399;">Uninstall SQL Server 2017 on RHEL</span></h3>
<p>Uninstalling SQL Server 2017 that is running on Linux server is totally different process as compared to its windows based SQL Server. Follow below step by step process to uninstall SQL Server 2017 from your RHEL Linux server.</p>
<p><strong>1-</strong> Connect to your RHEL server where SQL Server 2017 is running and that needs to be uninstalled from the server. Check whether SQL Server is installed on this machine or not by checking SQL Server service. You can see SQL Server is running on this server.</p>
<pre><strong><span style="color: #008000;">#Run below command to check SQL Server Service.</span>
<span style="color: #0000ff;">systemctl status mssql-server
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1309" src="http://techyaz.com/wp-content/uploads/2017/12/1-Check-SQL-Server-min.jpg" alt="Check SQL Server Service on RHEL" width="999" height="190" srcset="https://techyaz.com/wp-content/uploads/2017/12/1-Check-SQL-Server-min.jpg 999w, https://techyaz.com/wp-content/uploads/2017/12/1-Check-SQL-Server-min-300x57.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/1-Check-SQL-Server-min-768x146.jpg 768w" sizes="auto, (max-width: 999px) 100vw, 999px" /></p>
<p><strong>2-</strong> Check SQL Server files along with the database files before removing SQL Server. We will validate SQL Server removal by checking these files post uninstallation.</p>
<pre><strong><span style="color: #008000;">#Check SQL Server binaries &amp; database files</span>
<span style="color: #0000ff;">sudo ls -lrt /var/opt/mssql
sudo ls -lrt /var/opt/mssql/data
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1310" src="http://techyaz.com/wp-content/uploads/2017/12/2-check-files-min.jpg" alt="check database files" width="622" height="373" srcset="https://techyaz.com/wp-content/uploads/2017/12/2-check-files-min.jpg 622w, https://techyaz.com/wp-content/uploads/2017/12/2-check-files-min-300x180.jpg 300w" sizes="auto, (max-width: 622px) 100vw, 622px" /></p>
<p><span style="color: #ff0000;"><em><strong>Note:</strong> </em></span><strong><em>Make sure to run full backup of all your databases and keep them in a safer place for future needs. </em></strong></p>
<p><strong>3-</strong> Now, we will uninstall SQL Server by running below command.</p>
<pre><strong><span style="color: #008000;">#Remove SQL Server from your Linux machine</span>
<span style="color: #0000ff;">sudo yum remove mssql-server
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1311 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min.jpg" alt="uninstall SQL Server 2017 from RHEL" width="1424" height="676" srcset="https://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min.jpg 1424w, https://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min-300x142.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min-768x365.jpg 768w, https://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min-1024x486.jpg 1024w" sizes="auto, (max-width: 1424px) 100vw, 1424px" /></p>
<p>You can see details of SQL Server packages that are going to be removed from this machine. These packages are SQL Server and SQL Server Agent that are going to be removed here. Above command will ask us to type <strong>y</strong> to proceed with the uninstallation and type <strong>N</strong> to quit this uninstallation. Type <strong>y</strong> to proceed with the SQL Server removal.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1312 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/4-remove-sql-server-min.jpg" alt="uninstall sql server 2017 from rhel" width="706" height="411" srcset="https://techyaz.com/wp-content/uploads/2017/12/4-remove-sql-server-min.jpg 706w, https://techyaz.com/wp-content/uploads/2017/12/4-remove-sql-server-min-300x175.jpg 300w" sizes="auto, (max-width: 706px) 100vw, 706px" /></p>
<p>You can see SQL Server and SQL Server Agent both packages have been removed from this machine.</p>
<p><strong>4-</strong> Now, remove all SQL Server binaries and database files from its installed location that we checked in second screenshot by running below command.</p>
<pre><strong><span style="color: #008000;">#Remove database files and SQL binaries.</span>
<span style="color: #0000ff;">sudo rm -rf /var/opt/mssql
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1313" src="http://techyaz.com/wp-content/uploads/2017/12/5-remove-files-min.jpg" alt="remove sql server binaries" width="795" height="47" srcset="https://techyaz.com/wp-content/uploads/2017/12/5-remove-files-min.jpg 795w, https://techyaz.com/wp-content/uploads/2017/12/5-remove-files-min-300x18.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/5-remove-files-min-768x45.jpg 768w" sizes="auto, (max-width: 795px) 100vw, 795px" /></p>
<p>Here, your SQL Server has been removed from this linux machine. You can check SQL Server binaries and database files by running below commands. We can see no files in these locations because they have been removed now.</p>
<pre><strong><span style="color: #008000;">#Check database files.</span>
<span style="color: #0000ff;">sudo ls -lrt /var/opt/mssql/data</span>

<span style="color: #008000;">#Check SQL Server files &amp; folders.</span>
<span style="color: #0000ff;">sudo ls -lrt /var/opt/mssql
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1314" src="http://techyaz.com/wp-content/uploads/2017/12/6-check-files-post-removal-min.jpg" alt="check sql server binaries" width="724" height="136" srcset="https://techyaz.com/wp-content/uploads/2017/12/6-check-files-post-removal-min.jpg 724w, https://techyaz.com/wp-content/uploads/2017/12/6-check-files-post-removal-min-300x56.jpg 300w" sizes="auto, (max-width: 724px) 100vw, 724px" /></p>
<p><strong>5-</strong> Now you can check SQL Server service again by executing below command.</p>
<pre><strong><span style="color: #008000;">#Check SQL Server Service post SQL Server Removal.</span>
<span style="color: #0000ff;">systemctl status mssql-server</span> </strong></pre>
<p>We can see SQL Server is not loaded this time but service is showing as active.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1315" src="http://techyaz.com/wp-content/uploads/2017/12/7-Check-SQL-Server-post-removal-min.jpg" alt="Check SQL Server service post uninstallation" width="866" height="183" srcset="https://techyaz.com/wp-content/uploads/2017/12/7-Check-SQL-Server-post-removal-min.jpg 866w, https://techyaz.com/wp-content/uploads/2017/12/7-Check-SQL-Server-post-removal-min-300x63.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/7-Check-SQL-Server-post-removal-min-768x162.jpg 768w" sizes="auto, (max-width: 866px) 100vw, 866px" /></p>
<p>When you will try to restart this service, it will throw you an error that unit not found as shown in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1316" src="http://techyaz.com/wp-content/uploads/2017/12/8-Restart-sql-server-min.jpg" alt="Restart SQL Server service post uinstallation" width="719" height="153" srcset="https://techyaz.com/wp-content/uploads/2017/12/8-Restart-sql-server-min.jpg 719w, https://techyaz.com/wp-content/uploads/2017/12/8-Restart-sql-server-min-300x64.jpg 300w" sizes="auto, (max-width: 719px) 100vw, 719px" /></p>
<p><strong>6-</strong> Now we need to reboot the server to update SQL Server service status on RHEL. I restarted this linux machine and again checked the SQL Server service. You can see this time it says service could not found.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1317" src="http://techyaz.com/wp-content/uploads/2017/12/9-reboot-server-check-service-min.jpg" alt="restart RHEL and check SQL Service" width="584" height="264" srcset="https://techyaz.com/wp-content/uploads/2017/12/9-reboot-server-check-service-min.jpg 584w, https://techyaz.com/wp-content/uploads/2017/12/9-reboot-server-check-service-min-300x136.jpg 300w" sizes="auto, (max-width: 584px) 100vw, 584px" /></p>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/">How to Uninstall SQL Server 2017 from RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
