<?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>Drop &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/drop/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Tue, 29 Dec 2020 09:08:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Drop &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Drop a Database on MySQL</title>
		<link>https://help.hostry.com/knowledge-base/how-to-drop-a-database-on-mysql/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-drop-a-database-on-mysql/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 29 Dec 2020 09:08:43 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2899</guid>

					<description><![CDATA[MySQL is a Relational Database Management System that is known for being very easy to use, nice interface, and also fast. In this article, we will take a look at such database management techniques as deleting a database in MySQL. To get started with MySQL, open a terminal. First, check [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><a href="https://www.mysql.com/"><strong>MySQL</strong></a> is a Relational Database Management System that is known for being very easy to use, nice interface, and also fast. In this article, we will take a look at such database management techniques as deleting a database in MySQL. To get started with <strong>MySQL</strong>, open a terminal. First, check your <a href="https://en.wikipedia.org/wiki/MySQL"><strong>MySQL</strong></a> version with the following command:</p>



<pre class="wp-block-code"><code>mysql - V</code></pre>



<p>Check for the latest up-to-date database version. If it is, then proceed to the step of checking the status of the system mysql.service. To do this, run the following command:</p>



<pre class="wp-block-code"><code>sudo systemctl status mysql</code></pre>



<p>If the service is not active, start the service</p>



<pre class="wp-block-code"><code>sudo systemctl start mysql</code></pre>



<p>After starting the service, connect to the MySQL client or log into the MySQL shell as the root user. If you do not have access to the root user account, replace <strong>“root”</strong> with your username</p>



<pre class="wp-block-code"><code>sudo mysql -u root -p</code></pre>



<p>After logging into MySQL, list the databases with SHOW DATABASES command:</p>



<pre class="wp-block-code"><code>SHOWDATABASES;</code></pre>



<p>After you have a list of databases, then you need to select the database in which you want to delete. If you want to drop an existing database, you can run a simple <strong>DROP DATABASE</strong> command along with the database name like this:</p>



<pre class="wp-block-code"><code>DROPDATABASE your_database_name;</code></pre>



<p>After deleting the database, you need to list the databases again, for this use the <strong>SHOW DATABASES</strong> command</p>



<pre class="wp-block-code"><code>SHOWDATABASES;</code></pre>



<p>Now it is possible to notice that the remote database no longer exists in MySQL.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-drop-a-database-on-mysql/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
