<?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>sudo &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/sudo/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Thu, 14 Sep 2017 11:41:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</generator>
	<item>
		<title>Important MySQL and Ubuntu Console Commands</title>
		<link>https://www.dbrnd.com/2015/09/mysql-ubuntu-console-command/</link>
					<comments>https://www.dbrnd.com/2015/09/mysql-ubuntu-console-command/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sun, 13 Sep 2015 17:07:30 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL DBA Script]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[MySQL Command]]></category>
		<category><![CDATA[MySQL Database Administrator]]></category>
		<category><![CDATA[MySQL Database Designing]]></category>
		<category><![CDATA[MySQL Database Programming]]></category>
		<category><![CDATA[MySQL Error]]></category>
		<category><![CDATA[MySQL Performance Tunning]]></category>
		<category><![CDATA[MySQL Query]]></category>
		<category><![CDATA[MySQL Tips and Tricks]]></category>
		<category><![CDATA[mysqladmin]]></category>
		<category><![CDATA[sudo]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=619</guid>

					<description><![CDATA[In this post, I am sharing few important commands for MySQL and Ubuntu. Let&#8217;s first see the MySQL Command: You can execute this all commands in the root directory of the MySQL. Check MySQL is running or not: [crayon-6ab55af405258459672062/] Check MySQL Current Version: [crayon-6ab55af40525c100419863/] Check MySQL Current Status: [crayon-6ab55af40525e281285669/] Check MySQL Server Variables: [crayon-6ab55af40525f436079253/] Check [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fmysql-ubuntu-console-command%2F&amp;linkname=Important%20MySQL%20and%20Ubuntu%20Console%20Commands" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fmysql-ubuntu-console-command%2F&amp;linkname=Important%20MySQL%20and%20Ubuntu%20Console%20Commands" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fmysql-ubuntu-console-command%2F&amp;linkname=Important%20MySQL%20and%20Ubuntu%20Console%20Commands" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fmysql-ubuntu-console-command%2F&amp;linkname=Important%20MySQL%20and%20Ubuntu%20Console%20Commands" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fmysql-ubuntu-console-command%2F&amp;linkname=Important%20MySQL%20and%20Ubuntu%20Console%20Commands" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fmysql-ubuntu-console-command%2F&amp;linkname=Important%20MySQL%20and%20Ubuntu%20Console%20Commands" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F09%2Fmysql-ubuntu-console-command%2F&#038;title=Important%20MySQL%20and%20Ubuntu%20Console%20Commands" data-a2a-url="https://www.dbrnd.com/2015/09/mysql-ubuntu-console-command/" data-a2a-title="Important MySQL and Ubuntu Console Commands"></a></p><p>In this post, I am sharing few important commands for MySQL and Ubuntu.<br />
<strong></p>
<h2>Let&#8217;s first see the MySQL Command:</h2>
<p></strong><br />
You can execute this all commands in the root directory of the MySQL.</p>
<p><strong>Check MySQL is running or not:</strong></p><pre class="crayon-plain-tag">mysqladmin -u root -p ping</pre><p>
<p><strong>Check MySQL Current Version:</strong></p><pre class="crayon-plain-tag">mysqladmin -u root -p version</pre><p>
<p><strong>Check MySQL Current Status:</strong></p><pre class="crayon-plain-tag">mysqladmin -u root -p status</pre><p>
<p><strong>Check MySQL Server Variables:</strong></p><pre class="crayon-plain-tag">mysqladmin -u root -p variables</pre><p>
<p><strong>Check status of MySQL Server variable&#8217;s values:</strong></p><pre class="crayon-plain-tag">mysqladmin -u root -p extended-status</pre><p>
<p><strong>Check running all MySQL Server Processes:</strong></p><pre class="crayon-plain-tag">mysqladmin -u root -p processlist</pre><p>
<p><strong>Safely Shutdown of MySQL:</strong></p><pre class="crayon-plain-tag">mysqladmin -u root -p shutdown</pre><p>
<p><strong></p>
<h2>Let&#8217;s see the Ubuntu Commands:</h2>
<p></strong><br />
<strong>Check MySQL is running or not:</strong></p><pre class="crayon-plain-tag">sudo netstat -tap | grep mysql</pre><p>
<p><strong>Start MySQL Service:</strong></p><pre class="crayon-plain-tag">sudo start mysql</pre><p>
<p><strong>Restart MySQL Service:</strong></p><pre class="crayon-plain-tag">sudo service mysql restart</pre><p>
<p><strong>Stop MySQL Service:</strong></p><pre class="crayon-plain-tag">sudo stop mysql</pre><p>
<p><strong>Check Status of MySQL Service:</strong></p><pre class="crayon-plain-tag">service mysql status</pre><p>
<p><strong>Check MySQL Config File:</strong></p><pre class="crayon-plain-tag">sudo nano /etc/mysql/my.cnf</pre><p>
<p><strong>To Change MySQL Root Password:</strong></p><pre class="crayon-plain-tag">sudo dpkg-reconfigure mysql-server-5.5</pre><p>
<p><strong>You can also visit this article to reset MySQL Root Password:</strong></p>
<blockquote class="wp-embedded-content" data-secret="0AGpdHO13O"><p><a href="https://www.dbrnd.com/2015/08/reset-mysql-root-password-ubuntu/">How to reset MySQL root Password in Ubuntu</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="https://www.dbrnd.com/2015/08/reset-mysql-root-password-ubuntu/embed/#?secret=0AGpdHO13O" data-secret="0AGpdHO13O" width="600" height="338" title="&#8220;How to reset MySQL root Password in Ubuntu&#8221; &#8212; Database Research &amp; Development" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2015/09/mysql-ubuntu-console-command/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
