<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Reset autoincrement value in mysql tabl</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2004/06/24/reset-autoincrement-value-in-mysql-tabl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2004/06/24/reset-autoincrement-value-in-mysql-tabl/</link>
	<description></description>
	<pubDate>Mon, 08 Sep 2008 15:05:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Don't Back Down</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/24/reset-autoincrement-value-in-mysql-tabl/#comment-13852</link>
		<dc:creator>Don't Back Down</dc:creator>
		<pubDate>Thu, 06 Jan 2005 11:37:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/24/reset-autoincrement-value-in-mysql-tabl/#comment-13852</guid>
		<description>&lt;trackback /&gt;&lt;strong&gt;Updating Auto-Increment in MySQL&lt;/strong&gt;
I was playing with the database yesterday, and decided that some of my auto-incremented values (id numbers for particular tables, specifically Movable Type's PluginData) were simply getting too high. I was curious about resetting them. Even if I delet...</description>
		<content:encoded><![CDATA[<trackback /><strong>Updating Auto-Increment in MySQL</strong><br />
I was playing with the database yesterday, and decided that some of my auto-incremented values (id numbers for particular tables, specifically Movable Type&#8217;s PluginData) were simply getting too high. I was curious about resetting them. Even if I delet&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Porter</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/24/reset-autoincrement-value-in-mysql-tabl/#comment-11995</link>
		<dc:creator>Scott Porter</dc:creator>
		<pubDate>Thu, 01 Jul 2004 22:53:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/24/reset-autoincrement-value-in-mysql-tabl/#comment-11995</guid>
		<description>Yeah, it is possible to edit multiple id's  if you use phpMyAdmin (have just done so) Select the checkboxes of the rows to be changed, and click on the edit icon at the &lt;strong&gt;bottom&lt;/strong&gt;, just after the last row :)</description>
		<content:encoded><![CDATA[<p>Yeah, it is possible to edit multiple id&#8217;s  if you use phpMyAdmin (have just done so) Select the checkboxes of the rows to be changed, and click on the edit icon at the <strong>bottom</strong>, just after the last row <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johanka</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/24/reset-autoincrement-value-in-mysql-tabl/#comment-11858</link>
		<dc:creator>Johanka</dc:creator>
		<pubDate>Fri, 25 Jun 2004 20:58:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/24/reset-autoincrement-value-in-mysql-tabl/#comment-11858</guid>
		<description>Thanks! I wish I had known this earlier.
I wonder, is it possible to edit the ID of several entries in the table en mass? Without having to edit manually one at a time?</description>
		<content:encoded><![CDATA[<p>Thanks! I wish I had known this earlier.<br />
I wonder, is it possible to edit the ID of several entries in the table en mass? Without having to edit manually one at a time?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daynah</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/24/reset-autoincrement-value-in-mysql-tabl/#comment-11853</link>
		<dc:creator>Daynah</dc:creator>
		<pubDate>Fri, 25 Jun 2004 17:23:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/24/reset-autoincrement-value-in-mysql-tabl/#comment-11853</guid>
		<description>Thanks for the tip Jenn and Scott!</description>
		<content:encoded><![CDATA[<p>Thanks for the tip Jenn and Scott!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.scriptygoddess.com/archives/2004/06/24/reset-autoincrement-value-in-mysql-tabl/#comment-11848</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Fri, 25 Jun 2004 07:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/06/24/reset-autoincrement-value-in-mysql-tabl/#comment-11848</guid>
		<description>&lt;!--important--&gt;Of course TRUNCATE will also delete all your rows if you haven't already. Not good if you don't really want an empty table.

If you just want to change the auto_increment without deleting everything, you can 

&lt;h3&gt;ALTER TABLE tbl_name AUTO_INCREMENT = xxx&lt;/h3&gt;

(where xxx is an integer). Or use the operations page in phpmyadmin (which is what I usually do so I don't have to remember any SQL syntax :-)</description>
		<content:encoded><![CDATA[<p><!--important-->Of course TRUNCATE will also delete all your rows if you haven&#8217;t already. Not good if you don&#8217;t really want an empty table.</p>
<p>If you just want to change the auto_increment without deleting everything, you can </p>
<h3>ALTER TABLE tbl_name AUTO_INCREMENT = xxx</h3>
<p>(where xxx is an integer). Or use the operations page in phpmyadmin (which is what I usually do so I don&#8217;t have to remember any SQL syntax <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.294 seconds -->
