<?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>Tutorials Connect &#187; Databases</title>
	<atom:link href="http://www.tutorialsconnect.com/category/databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tutorialsconnect.com</link>
	<description>Tutorials for Linux Users and Web Developers</description>
	<lastBuildDate>Sun, 07 Jun 2009 10:57:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Reset the MySQL Root Password</title>
		<link>http://www.tutorialsconnect.com/2008/10/how-to-reset-the-mysql-root-password/</link>
		<comments>http://www.tutorialsconnect.com/2008/10/how-to-reset-the-mysql-root-password/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 20:22:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.tutorialsconnect.com/?p=51</guid>
		<description><![CDATA[Follow the steps below if you have forgotten your mysql root password and wish to reset it.
1.  Create a text file with the following information in it.
UPDATE mysql.user SET Password=PASSWORD(&#8217;NEW_PASSWORD&#8217;) WHERE User=&#8217;root&#8217;;
FLUSH PRIVILEGES;
Replace &#8220;NEW_PASSWORD&#8221; with your desired mysql password.  Save the file to /etc/mysql-pass-reset
2.  Stop MySQL
/etc/init.d/mysqld stop
3.  Start mysqld_safe with the &#8211;init-file option like so:
mysqld_safe [...]]]></description>
			<content:encoded><![CDATA[<p>Follow the steps below if you have forgotten your mysql root password and wish to reset it.</p>
<p>1.  Create a text file with the following information in it.</p>
<blockquote><p>UPDATE mysql.user SET Password=PASSWORD(&#8217;NEW_PASSWORD&#8217;) WHERE User=&#8217;root&#8217;;<br />
FLUSH PRIVILEGES;</p></blockquote>
<p>Replace &#8220;NEW_PASSWORD&#8221; with your desired mysql password.  Save the file to /etc/mysql-pass-reset</p>
<p>2.  Stop MySQL</p>
<blockquote><p>/etc/init.d/mysqld stop</p></blockquote>
<p>3.  Start mysqld_safe with the &#8211;init-file option like so:</p>
<blockquote><p>mysqld_safe &#8211;init-file=/etc/mysql-pass-reset &amp;</p></blockquote>
<p>This will start mysql and execute the query in the text file you created.</p>
<p>4.  Now stop and start mysql back up normally without the &#8211;init-file option.</p>
<blockquote><p>/etc/init.d/mysqld stop<br />
/etc/init.d/mysqld start</p></blockquote>
<p>Don&#8217;t forget to delete the &#8220;mysql-pass-reset&#8221; file when you are done!</p>
<blockquote><p>rm /etc/mysql-pass-reset</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.tutorialsconnect.com/2008/10/how-to-reset-the-mysql-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Change Autoincriment Value in MySQL</title>
		<link>http://www.tutorialsconnect.com/2008/10/how-to-change-autoincriment-value-in-mysql/</link>
		<comments>http://www.tutorialsconnect.com/2008/10/how-to-change-autoincriment-value-in-mysql/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 01:40:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.tutorialsconnect.com/?p=24</guid>
		<description><![CDATA[If you have a attribute in your table that automatically increments itself for every new row, you can change what the next value is very easily.
You can do so by either of the two following ways.
1. Change the autoincrement value with a simple sql query.
ALTER TABLE {table name} AUTO_INCREMENT = {some number};
Where {table name} is [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a attribute in your table that automatically increments itself for every new row, you can change what the next value is very easily.</p>
<p>You can do so by either of the two following ways.</p>
<p><em>1. Change the autoincrement value with a simple sql query.</em></p>
<p>ALTER TABLE {table name} AUTO_INCREMENT = {some number};</p>
<p>Where {table name} is the name of the table of which you are modifying the auto_increment value and {some number} is the actual auto_increment attribute value that you wish the next row to have.</p>
<p><em>2. When inserting the next row in that table, manually set the value for the auto_increment attribute and it will automatically continue from that number for future entries. </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tutorialsconnect.com/2008/10/how-to-change-autoincriment-value-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
