<?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>TechieDan &#187; mysql</title>
	<atom:link href="http://techiedan.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://techiedan.com</link>
	<description>Your Search for The Tech Stuffs</description>
	<lastBuildDate>Tue, 22 May 2012 08:10:07 +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>Insert backup mySQL data into database</title>
		<link>http://techiedan.com/2009/01/29/insert-backup-mysql-data-into-database/</link>
		<comments>http://techiedan.com/2009/01/29/insert-backup-mysql-data-into-database/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 12:53:37 +0000</pubDate>
		<dc:creator>techieDan</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://techiedan.com/?p=284</guid>
		<description><![CDATA[<p>There are many people who are using WordPress.org as their blog platform and one of the most important thing they do at times in case of system crash <a href="http://techiedan.com/2008/02/25/dump-data-mysql-command/" target="_blank">is to backup their data</a>. Most bloggers will be backing it up using the plugins from wordpress or do it semi-manually using the phpmyadmin that [...]]]></description>
			<content:encoded><![CDATA[<p>There are many people who are using WordPress.org as their blog platform and one of the most important thing they do at times in case of system crash <a href="http://techiedan.com/2008/02/25/dump-data-mysql-command/" target="_blank">is to backup their data</a>. Most bloggers will be backing it up using the plugins from wordpress or do it semi-manually using the phpmyadmin that comes with most hosting.</p>
<p>Now the part comes, where do you put those data. Why not do a replica of it on to your database and run your own WordPress and play test it. Here&#8217;s how one can insert the text data back into a database with just few simple commands.</p>
<pre style="background-color:#AAAACC">mysql -uUser -pPassword -hlocalhost dbName &lt; data.ddl</pre>
<p>Now that is what one ever need to do. Make sure before you do this though, that tables in the said database is drop from it.</p>
]]></content:encoded>
			<wfw:commentRss>http://techiedan.com/2009/01/29/insert-backup-mysql-data-into-database/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>mySQL reset root password</title>
		<link>http://techiedan.com/2008/05/07/mysql-reset-root-password/</link>
		<comments>http://techiedan.com/2008/05/07/mysql-reset-root-password/#comments</comments>
		<pubDate>Wed, 07 May 2008 02:48:20 +0000</pubDate>
		<dc:creator>techieDan</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://techiedan.com/?p=80</guid>
		<description><![CDATA[<p>I&#8217;ve been using mysql for quite some time, and ever then after I shifted to a work place which uses msSQL, I felt that I&#8217;ve neglected mySQL for awhile. Basically one main question I had previously and just recently asked by my colleague is to how to change the root user password?</p>
<p>Here I will teach [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using mysql for quite some time, and ever then after I shifted to a work place which uses msSQL, I felt that I&#8217;ve neglected mySQL for awhile. Basically one main question I had previously and just recently asked by my colleague is to how to change the root user password?</p>
<p>Here I will teach you what I usually use which is the mysql command line.</p>
<p>Login to mysql server using the following command prompt</p>
<p><span style="background-color: #add8e6">$ mysqladmin -u root -p</span></p>
<p>In mysql prompt, select database mysql</p>
<p><span style="background-color: #add8e6">mysql&gt; use mysql;</span></p>
<p>Now update your root password by putting a new password in the NEWPASSWORD part</p>
<p><span style="background-color: #add8e6">mysql&gt; update user set password=PASSWORD(&#8220;NEWPASSWORD&#8221;) where User=&#8217;root&#8217;;</span></p>
<p>Finally you&#8217;ve completed the step. Oh one more final step.</p>
<p><span style="background-color: #v">mysql&gt; flush privileges;</span></p>
<p>Now try quit the mysql command line, and relogin again using the new password. Congrats, your root has a new password <img src='http://techiedan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://techiedan.com/2008/05/07/mysql-reset-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dump Data mySQL Command</title>
		<link>http://techiedan.com/2008/02/25/dump-data-mysql-command/</link>
		<comments>http://techiedan.com/2008/02/25/dump-data-mysql-command/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 13:09:46 +0000</pubDate>
		<dc:creator>techieDan</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://techiedan.com/2008/02/25/dump-data-mysql-command/</guid>
		<description><![CDATA[<p>You&#8217;re stuck in a new place, with no Internet connection and you have no extra additional softwares to install for GUI for mySQL updates and stuffs. Now then suddenly the client asked you to backup his database using the UNIX server. You, as a fresh database administrator suddenly felt lost and don&#8217;t know what to [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;re stuck in a new place, with no Internet connection and you have no extra additional softwares to install for GUI for mySQL updates and stuffs. Now then suddenly the client asked you to backup his database using the UNIX server. You, as a fresh database administrator suddenly felt lost and don&#8217;t know what to do.</p>
<p>If only everyone have learnt the basics of command line prompt, one will not have panic like the above scenario. How to backup your mysql database using command line prompt.</p>
<p><strong>Windows Environment for simplicity</strong></p>
<blockquote style="background-color: #ffefd5"><p>C:\&gt; [MYSQL HOME]\bin\ mysqldump -u[user] -p [databasename] &gt; something.ddl</p></blockquote>
<p>Yes, a single line and it&#8217;s all done.</p>
<p><strong>What does this line meant?</strong></p>
<table border="1" width="50%">
<tr>
<td colSpan="2">Legend</td>
</tr>
<tr>
<td>-u</td>
<td>user option</td>
</tr>
<tr>
<td>root</td>
<td>default username</td>
</tr>
<tr>
<td>-p</td>
<td>password option</td>
</tr>
</table>
<p>The rest is pretty understandable<br />
Example if I have a username &#8216;root&#8217; for the database and password &#8216;abc&#8217; with the database name called db and I wanted to save all the data onto a file name data.ddl, this is what I would write below.</p>
<p><img src="http://techiedan.com/wp-content/uploads/2008/02/mysql.gif" alt="mysql backup" /></p>
<p>If you have any questions pertaining this issue, do drop a line.</p>
]]></content:encoded>
			<wfw:commentRss>http://techiedan.com/2008/02/25/dump-data-mysql-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mySQL msSQL syntax</title>
		<link>http://techiedan.com/2008/02/13/mysql-mssql-syntax/</link>
		<comments>http://techiedan.com/2008/02/13/mysql-mssql-syntax/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 16:39:17 +0000</pubDate>
		<dc:creator>techieDan</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://techiedan.com/2008/02/13/mysql-mssql-syntax/</guid>
		<description><![CDATA[<p><strong>mySQL</strong> and <strong>msSQL</strong> has a similar SQL syntax but not the same. To have a grasp of what does this mean, let&#8217;s have an exercise to <strong>get 10 rows from a table</strong> with mySQL.</p>
<p>select * from [tablename] limit 10</p>
<p>Now if you were to run this sql query above on msSQL server you&#8217;ll either get a wrong sql [...]]]></description>
			<content:encoded><![CDATA[<p><strong>mySQL</strong> and <strong>msSQL</strong> has a similar SQL syntax but not the same. To have a grasp of what does this mean, let&#8217;s have an exercise to <strong>get 10 rows from a table</strong> with mySQL.</p>
<blockquote style="background-color: #ffefd5"><p>select * from [tablename] limit 10</p></blockquote>
<p>Now if you were to run this sql query above on msSQL server you&#8217;ll either get a wrong sql query or query not able to compute. So alternative for msSQL is by entering this query instead.</p>
<blockquote style="background-color: #ffefd5"><p>select top 10 * from [tablename]</p></blockquote>
<p>Simple?? Yes, that&#8217;s all there is to it. To those that need further questions answered, there are bound to be helpful people posting or me trying to help people out.</p>
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://techiedan.com/2008/02/13/mysql-mssql-syntax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL ownership Taken Over</title>
		<link>http://techiedan.com/2008/01/17/mysql-ownership-taken-over/</link>
		<comments>http://techiedan.com/2008/01/17/mysql-ownership-taken-over/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 04:33:56 +0000</pubDate>
		<dc:creator>techieDan</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://techiedan.com/2008/01/17/mysql-ownership-taken-over/</guid>
		<description><![CDATA[<p>Hmm.. shocking news. It seems that the free open source <strong>MySQL database has now been bought over by SUN</strong>. Yes, Sun, the creator of Java which is famous for it&#8217;s compile once run everywhere (basically platform independent).</p>
<p>In terms of news, with an astonishing figure of $1,000,000,000 or in literal translation 1 Billion dollars. That&#8217;s an [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://techiedan.com/wp-content/uploads/2008/01/mysql.png" alt="MySQL logo" align="left" hspace="5" />Hmm.. shocking news. It seems that the free open source <strong>MySQL database has now been bought over by SUN</strong>. Yes, Sun, the creator of Java which is famous for it&#8217;s compile once run everywhere (basically platform independent).</p>
<p>In terms of news, with an astonishing figure of $1,000,000,000 or in literal translation 1 Billion dollars. That&#8217;s an astonishing figure. Looks like all the big players in the Internet market are buying over stuffs.</p>
<p>&#8220;The combination of MySQL and Sun represents an enormous opportunity for users and organizations of all sizes seeking innovation, growth and choice,” said <strong>Marten Mickos</strong>, CEO, MySQL.</p>
<p><img src="http://techiedan.com/wp-content/uploads/2008/01/sun_microsystems.png" alt="Sun Microsystems Logo" align="left" hspace="5" />Sun&#8217;s ever many Software will integrate with MySQL. The breakdown of the $1 billion can <strong>seperate in terms of $800 million in exchange of MySQL stock and approximated $200 million in other options</strong>. With this news, now not only with the long lasting partnership of Sun Microsystems and Oracle but also with an additional new database to integrate together.</p>
<p><span id="articleBody">“We are going to keep investing in that and keep doing that,” he said. “It is vital to our customers. It is vital to our business, but we can also use that expertise and share that expertise to optimize MySQL technology to run on Sun systems as well as Linux and Windows systems.” says <strong>Rich Green</strong>, executive Vice President of Sun Microsystems Software.<br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://techiedan.com/2008/01/17/mysql-ownership-taken-over/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

