<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Bright%3Amysql</id>
	<title>Bright:mysql - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Bright%3Amysql"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Bright:mysql&amp;action=history"/>
	<updated>2026-05-04T16:38:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Bright:mysql&amp;diff=6208&amp;oldid=prev</id>
		<title>Chenhui: Created page with &quot;= MySQL = Please note that you can reset the MySQL root password by the following procedure:  1- Stop the services. &lt;syntaxhighlight&gt; # service cmd stop # service mysql stop &lt;/syntaxhighlight&gt;  2- ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Bright:mysql&amp;diff=6208&amp;oldid=prev"/>
		<updated>2015-04-01T15:16:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= MySQL = Please note that you can reset the MySQL root password by the following procedure:  1- Stop the services. &amp;lt;syntaxhighlight&amp;gt; # service cmd stop # service mysql stop &amp;lt;/syntaxhighlight&amp;gt;  2- ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= MySQL =&lt;br /&gt;
Please note that you can reset the MySQL root password by the following&lt;br /&gt;
procedure:&lt;br /&gt;
&lt;br /&gt;
1- Stop the services.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
# service cmd stop&lt;br /&gt;
# service mysql stop&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2- Start MySQL in safe mode.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
# mysqld_safe --skip-grant-tables &amp;amp;&lt;br /&gt;
# mysql -u root&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- Change the password&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
mysql&amp;gt; use mysql;&lt;br /&gt;
mysql&amp;gt; update user set password=PASSWORD(&amp;quot;NEW-ROOT-PASSWORD&amp;quot;) where&lt;br /&gt;
User=&amp;#039;root&amp;#039;; flush privileges;&lt;br /&gt;
quit&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace the string NEW-ROOT-PASSWORD inside the double quotes with your&lt;br /&gt;
new password.&lt;br /&gt;
&lt;br /&gt;
4- Restart the services.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
# service mysqld stop&lt;br /&gt;
# service mysqld start&lt;br /&gt;
# service cmd start&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chenhui</name></author>
	</entry>
</feed>