<?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>สุดเดช บล๊อก &#187; MySQL</title>
	<atom:link href="http://blog.sudej.com/category/programming/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sudej.com</link>
	<description>ผู้ชายสามารถ &#34;รัก&#34; ผู้หญิงได้เป็นล้านคนแต่จะขอเป็นแค่หนึ่งคน ที่จะรักผู้หญิงแค่เพียง &#34;คนเดียว&#34; ด้วยล้านหนทาง</description>
	<lastBuildDate>Tue, 15 May 2012 18:28:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>MySQL Count And Group By Order By [กันลืม]</title>
		<link>http://blog.sudej.com/2011/09/mysql-count-and-group-by-order-by/</link>
		<comments>http://blog.sudej.com/2011/09/mysql-count-and-group-by-order-by/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 07:39:34 +0000</pubDate>
		<dc:creator>สุดเดช</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[count]]></category>
		<category><![CDATA[group by]]></category>
		<category><![CDATA[order by]]></category>

		<guid isPermaLink="false">http://blog.sudej.com/?p=1293</guid>
		<description><![CDATA[Result Code MySQL]]></description>
		<wfw:commentRss>http://blog.sudej.com/2011/09/mysql-count-and-group-by-order-by/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fatal error: Call to undefined function PMA_sanitize() in Message.class.php on line 601</title>
		<link>http://blog.sudej.com/2011/07/pma_sanitize/</link>
		<comments>http://blog.sudej.com/2011/07/pma_sanitize/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 03:46:59 +0000</pubDate>
		<dc:creator>สุดเดช</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[pma_sanitize]]></category>

		<guid isPermaLink="false">http://blog.sudej.com/?p=1256</guid>
		<description><![CDATA[phpmyadimin version 3.4.0 เมื่อเวลาท่านเกิดปัญหาดังกล่าวตามรูปแบบนี้ Fatal error: Call to undefined function PMA_sanitize() in Message.class.php on line 601 ให้ไปเปิดไฟล์ ดังกล่าวที่อยู่ใน directory phpmyadmin/libraries/Message.class.php ไปที่ บรรทัดประมาณ 601 จากนั้นให้แก้โค้ดจาก แก้ให้เป็น แบบนี้ครับ  จากให้ก็สั่ง restart mysql อีกรอบ โป๊ะเช๊เจ้าค่ะ ใช้การได้เลย เครดิตอันนี้ต้องหมอบให้ผมเองล่ะครับ เพราะว่าไม่มีข้อมูลจากที่อื่นเลย]]></description>
		<wfw:commentRss>http://blog.sudej.com/2011/07/pma_sanitize/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>forget mySQL root password</title>
		<link>http://blog.sudej.com/2010/07/forget-mysql-root-password/</link>
		<comments>http://blog.sudej.com/2010/07/forget-mysql-root-password/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 08:31:22 +0000</pubDate>
		<dc:creator>สุดเดช</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[forget]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://blog.sudej.com/?p=1048</guid>
		<description><![CDATA[หายหน้าไปน๊านนาน หลายท่านคงนึกว่าคนเขียน ม่องไปล่ะ ป่าวครับไปเตรียมตัวกับหุ้นส่วน(เพื่อนกาก) เตรียมเปิด กิจการที่ถนัด กันอยู่ ซักพักคงได้เห็นกันวันนี้ก็มีปัญหา แล้วก็หาข้อมูลจนทำได้เลยนำมาให้เพื่อน ๆ ดูน่ะครับ เป็นปัญหาของตัว mysql ที่มีคนแย่งไป (ได้ยังไงไม่รู้) เลยต้องไปเอาคืนมาเพื่อให้มันทำงานได้ปกติสุข วันนี้เลยเป็นวันที่ แจ่มอุราอีกวัน ทำงานได้อย่างฟลุ๊ก ๆ  จัดไปลุ๊ยยย เพิ่ม ลงไปในไฟล์ my.cnf ตามตัวอย่าง จากนั้นให้ restart service mysql ต่อด้วยคำสั่ง จากนั้นเข้าไปที่ mysql โดยการพิมพ์ พอเข้ามาใน mysql แล้ว ให้เลือก database mysql โดยคำสั่ง &#8230; <a href="http://blog.sudej.com/2010/07/forget-mysql-root-password/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.sudej.com/2010/07/forget-mysql-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crontab backup database</title>
		<link>http://blog.sudej.com/2009/02/crontab-backup-database/</link>
		<comments>http://blog.sudej.com/2009/02/crontab-backup-database/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 08:16:55 +0000</pubDate>
		<dc:creator>สุดเดช</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[crontab]]></category>

		<guid isPermaLink="false">http://blog.sudej.com/?p=442</guid>
		<description><![CDATA[จากเมื่อวาน &#60;&#60; คลิ๊กเพื่อดูเรื่องที่ต่อเนื่อง วันนี้จะบอกวิธีการติดตั้ง Crontab กันน่ะคับ เริ่มจากการสร้างไฟล์ Crontab ขึ้นมาก่อนน่ะคับ ความหมายของมันก็คือ ทุก ๆ วัน เวลา ตี 4.15 ให้ทำการ รัน สริปต์ ที่ชื่อว่า rbackup.php เมื่อสร้างเสร็จแล้ว คราวนี้ก็มาดูผลการทำงาน ของ script กันน่ะคับ ขอบคุณทุกท่าน ที่ดูแล้ว จะนำไปให้ให้เกิดประโยชน์ต่อไป ขอบคุณทุกท่าน ที่เอาไปใช้แล้วให้เครดิตผม กันลืม sp thx[1]: NECTEC sp thx[2]: Thai Admin]]></description>
		<wfw:commentRss>http://blog.sudej.com/2009/02/crontab-backup-database/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Script Backup Database</title>
		<link>http://blog.sudej.com/2009/02/php-script-backup-database/</link>
		<comments>http://blog.sudej.com/2009/02/php-script-backup-database/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 13:17:59 +0000</pubDate>
		<dc:creator>สุดเดช</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[crontab]]></category>

		<guid isPermaLink="false">http://blog.sudej.com/?p=436</guid>
		<description><![CDATA[วันนี้ผมจะมานำเสนอ การ Backup database โดยใช้ php น่ะคับ เป็นการ backup ข้อมูลผ่าน สริปต์ โดยใช้ ตัว crontab ใน Linux เป็นตัวเรียก สริปต์นี้ ใ้ห้ทำงานน่ะคับ วันนี้จะนำเสนอ ในเรื่องของ สริปต์กันก่อนน่ะคัีบ ผมได้ เรียนรู้บางคำสั่ง จาก อาจารย์ เปิ้ล แอบ เซิฟ  และ การโค้ดดิ้ง แนะแนวโดยพี่แม๊กมอไซค์คับ โดยการ backup ในครั้งนี้ เมื่อทำการแบ๊กอัพ เสร็จแล้ว มันจะส่งเมล์ไปบอก ยัง ผู้ดูแลระบบ &#8230; <a href="http://blog.sudej.com/2009/02/php-script-backup-database/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.sudej.com/2009/02/php-script-backup-database/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TRUNCATE TABLES ALL</title>
		<link>http://blog.sudej.com/2009/02/truncate-tables-all/</link>
		<comments>http://blog.sudej.com/2009/02/truncate-tables-all/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 12:25:45 +0000</pubDate>
		<dc:creator>สุดเดช</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[manage]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[truncate]]></category>

		<guid isPermaLink="false">http://blog.sudej.com/?p=427</guid>
		<description><![CDATA[เมื่อผู้พัฒนา เรื่องเข้าใจ ในการทำงานของ คลาส ดาต้าเบส แล้ว ต่อจากนี้ผมจะเอาตัวที่จัดการ การทำงาน ของ MySQL ตัวหนึ่งมาให้รู้กัน นั้นคือ คำสั่ง TRUNCATE นั้นเองการทำงานของคำสั่งนี่คือการทำให้ Table ที่ทุกสั่งนั้น จะเป็น EMPTY ทั้งหมด ในโปรแกรม phpmyadmin นั้นมีอยู่แล้ว แต่ว่า ผมอยากเขียนขึ้นมาใหม่อ่ะ ขี้เกียจไปเข้ามันช้า มาดูการเขียนกันคับ รูปแบบคำสั่งของมันจะเป็นแบบนี้คับ และ เพิ่มเติมให้อีกอันน่ะคับ นั้นก็คือตัว SHOW TABLES; TRUNCATE TABLE ชื่อเทเบิ้ล; ex TRUNCATE TABLE tbl_model; &#8230; <a href="http://blog.sudej.com/2009/02/truncate-tables-all/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.sudej.com/2009/02/truncate-tables-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>database class</title>
		<link>http://blog.sudej.com/2009/02/database-class/</link>
		<comments>http://blog.sudej.com/2009/02/database-class/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 11:29:33 +0000</pubDate>
		<dc:creator>สุดเดช</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[database]]></category>

		<guid isPermaLink="false">http://blog.sudej.com/?p=424</guid>
		<description><![CDATA[เขียนคลาสขึ้นมาเพื่อควบคุมการใช้งาน DATABASE ได้อย่างมีประสิทธิ์ภาพ ขอขอบคุณ พี่แม๊กมอไซค์ สำหรับโค้ดบางส่วนในการพัฒนางานในครั้งนี้ จะมีงานต่อจากนี้ ให้ผู้ที่จะใช้ในการพัฒนา ตั้งชื่อไฟล์นี้ไว้ว่า class.mysql.php คับผม]]></description>
		<wfw:commentRss>http://blog.sudej.com/2009/02/database-class/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Enum Type</title>
		<link>http://blog.sudej.com/2009/01/enum-type/</link>
		<comments>http://blog.sudej.com/2009/01/enum-type/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 15:07:00 +0000</pubDate>
		<dc:creator>สุดเดช</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[enum]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://blog.sudej.com/?p=49</guid>
		<description><![CDATA[The ENUM Type An ENUM is a string object with a value chosen from a list of allowed values that are enumerated explicitly in the column specification at table creation time. For example, a column specified as ENUM('one', 'two', 'three') &#8230; <a href="http://blog.sudej.com/2009/01/enum-type/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.sudej.com/2009/01/enum-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

