<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=Mysql_root_passwd</id>
	<title>Mysql root passwd - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=Mysql_root_passwd"/>
	<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Mysql_root_passwd&amp;action=history"/>
	<updated>2026-07-26T09:01:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Mysql_root_passwd&amp;diff=4134&amp;oldid=prev</id>
		<title>Admin: Flag as outdated (client review pass)</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Mysql_root_passwd&amp;diff=4134&amp;oldid=prev"/>
		<updated>2026-07-25T16:00:07Z</updated>

		<summary type="html">&lt;p&gt;Flag as outdated (client review pass)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:00, 25 July 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Outdated|reason=Old Article / Architecture / Technology  might not be relevant now May Use for Understand concepts|date=2026-07}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&amp;#039;&amp;#039;&amp;#039;FORGET MYSQL ROOT PASSWORD&amp;#039;&amp;#039;&amp;#039; ]]  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&amp;#039;&amp;#039;&amp;#039;FORGET MYSQL ROOT PASSWORD&amp;#039;&amp;#039;&amp;#039; ]]  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Mysql_root_passwd&amp;diff=2169&amp;oldid=prev</id>
		<title>Biswajit at 06:55, 2 January 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Mysql_root_passwd&amp;diff=2169&amp;oldid=prev"/>
		<updated>2016-01-02T06:55:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:55, 2 January 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;4.Reset the mysql root password using the following commands.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;4.Reset the mysql root password using the following commands.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mysql&amp;gt; use mysql;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;mysql&amp;gt; use mysql;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mysql&amp;gt; update user set password=PASSWORD(&quot;New root pass&quot;) where User=&#039;root&#039;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;mysql&amp;gt; update user set password=PASSWORD(&quot;New root pass&quot;) where User=&#039;root&#039;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mysql&amp;gt; flush privileges;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;mysql&amp;gt; flush privileges;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mysql&amp;gt; quit&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;mysql&amp;gt; quit&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;« Dispersed Storage&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;« Dispersed Storage&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Biswajit</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Mysql_root_passwd&amp;diff=176&amp;oldid=prev</id>
		<title>Subhash: Created page with &quot; Category:&#039;&#039;&#039;FORGET MYSQL ROOT PASSWORD&#039;&#039;&#039;    1.Stop the mysql server.  /etc/init.d/mysqld stop  2.Start the mysql daemon with  –skip-grant-tables option. --  mysqld_saf...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Mysql_root_passwd&amp;diff=176&amp;oldid=prev"/>
		<updated>2012-09-29T07:22:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; &lt;a href=&quot;/index.php?title=Category:%27%27%27FORGET_MYSQL_ROOT_PASSWORD%27%27%27&quot; title=&quot;Category:&amp;#039;&amp;#039;&amp;#039;FORGET MYSQL ROOT PASSWORD&amp;#039;&amp;#039;&amp;#039;&quot;&gt;Category:&amp;#039;&amp;#039;&amp;#039;FORGET MYSQL ROOT PASSWORD&amp;#039;&amp;#039;&amp;#039; &lt;/a&gt;   1.Stop the mysql server.  /etc/init.d/mysqld stop  2.Start the mysql daemon with  –skip-grant-tables option. --  mysqld_saf...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
[[Category:&amp;#039;&amp;#039;&amp;#039;FORGET MYSQL ROOT PASSWORD&amp;#039;&amp;#039;&amp;#039; ]] &lt;br /&gt;
&lt;br /&gt;
1.Stop the mysql server.&lt;br /&gt;
&lt;br /&gt;
/etc/init.d/mysqld stop&lt;br /&gt;
&lt;br /&gt;
2.Start the mysql daemon with  –skip-grant-tables option.&lt;br /&gt;
--&lt;br /&gt;
 mysqld_safe --skip-grant-tables&amp;amp;&lt;br /&gt;
&lt;br /&gt;
3.Login to the server as root user.&lt;br /&gt;
&lt;br /&gt;
[root@alpha ~]# mysql -u root&lt;br /&gt;
&lt;br /&gt;
Welcome to the MySQL monitor.  Commands end with ; or \g.&lt;br /&gt;
our MySQL connection id is 1&lt;br /&gt;
Server version: 5.0.77 Source distribution&lt;br /&gt;
Type &amp;#039;help;&amp;#039; or &amp;#039;\h&amp;#039; for help. Type &amp;#039;\c&amp;#039; to clear the buffer.&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt;&lt;br /&gt;
4.Reset the mysql root password using the following commands.&lt;br /&gt;
--&lt;br /&gt;
mysql&amp;gt; use mysql;&lt;br /&gt;
mysql&amp;gt; update user set password=PASSWORD(&amp;quot;New root pass&amp;quot;) where User=&amp;#039;root&amp;#039;;&lt;br /&gt;
mysql&amp;gt; flush privileges;&lt;br /&gt;
mysql&amp;gt; quit&lt;br /&gt;
--&lt;br /&gt;
« Dispersed Storage&lt;br /&gt;
Adding multiple virtual network interfaces in Ubuntu »&lt;br /&gt;
Reset mysql root password&lt;br /&gt;
&lt;br /&gt;
Sometimes in some situations we forget some important things in their life LOL.So today I’m gonna share how to reset the reset the mysql root password.The steps are here.&lt;br /&gt;
&lt;br /&gt;
1.Stop the mysql server.&lt;br /&gt;
&lt;br /&gt;
/etc/init.d/mysqld stop&lt;br /&gt;
&lt;br /&gt;
2.Start the mysql daemon with  –skip-grant-tables option.&lt;br /&gt;
&lt;br /&gt;
mysqld_safe --skip-grant-tables&amp;amp;&lt;br /&gt;
&lt;br /&gt;
3.Login to the server as root user.&lt;br /&gt;
&lt;br /&gt;
[root@alpha ~]# mysql -u root&lt;br /&gt;
&lt;br /&gt;
Welcome to the MySQL monitor.  Commands end with ; or \g.&lt;br /&gt;
&lt;br /&gt;
our MySQL connection id is 1&lt;br /&gt;
&lt;br /&gt;
Server version: 5.0.77 Source distribution&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Type &amp;#039;help;&amp;#039; or &amp;#039;\h&amp;#039; for help. Type &amp;#039;\c&amp;#039; to clear the buffer.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4.Reset the mysql root password using the following commands.&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; use mysql;&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; update user set password=PASSWORD(&amp;quot;New root pass&amp;quot;) where User=&amp;#039;root&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; flush privileges;&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; quit&lt;br /&gt;
&lt;br /&gt;
5.Stop the mysql daemon and start it again.&lt;br /&gt;
/etc/init.d/mysqld stop&lt;br /&gt;
&lt;br /&gt;
/etc/init.d/mysqld start&lt;br /&gt;
&lt;br /&gt;
--[[User:Subhash|Subhash]] 12:52, 29 September 2012 (IST)&lt;/div&gt;</summary>
		<author><name>Subhash</name></author>
	</entry>
</feed>