<?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>Webmaster Sucks &#187; MySQL</title>
	<atom:link href="http://www.webmastersucks.com/tags/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webmastersucks.com</link>
	<description>Here I share stuff I used to suck at as a novice webmaster..</description>
	<lastBuildDate>Mon, 13 Jun 2011 06:39:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Grouping Date with Datetime in MySQL</title>
		<link>http://www.webmastersucks.com/grouping-date-with-datetime-in-mysql/</link>
		<comments>http://www.webmastersucks.com/grouping-date-with-datetime-in-mysql/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 11:17:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[date calculation]]></category>
		<category><![CDATA[datetime]]></category>
		<category><![CDATA[date_format]]></category>
		<category><![CDATA[grouping date]]></category>
		<category><![CDATA[grouping date datetime]]></category>
		<category><![CDATA[grouping date mysql]]></category>

		<guid isPermaLink="false">http://www.webmastersucks.com/?p=261</guid>
		<description><![CDATA[
			
				
			
		
This is very basic and very useful command for mysql. I need user registration date by date. Firstly, i calculate with PHP, after i think it must be a basic way. I found this mysql command. I hope you&#8217;ll enjoy.

SELECT DATE_FORMAT(registerdate, '%Y-%m-%d') AS dd, COUNT(id) as TotalUser FROM UserTable GROUP BY dd;

]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.webmastersucks.com%2Fgrouping-date-with-datetime-in-mysql%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.webmastersucks.com%2Fgrouping-date-with-datetime-in-mysql%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is very basic and very useful command for mysql. I need user registration date by date. Firstly, i calculate with PHP, after i think it must be a basic way. I found this mysql command. I hope you&#8217;ll enjoy.</p>
<pre class="brush: php; title: ;">
SELECT DATE_FORMAT(registerdate, '%Y-%m-%d') AS dd, COUNT(id) as TotalUser FROM UserTable GROUP BY dd;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersucks.com/grouping-date-with-datetime-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Google Sitemap in PHP</title>
		<link>http://www.webmastersucks.com/creating-google-sitemap-in-php/</link>
		<comments>http://www.webmastersucks.com/creating-google-sitemap-in-php/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 11:09:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[google sitemap]]></category>
		<category><![CDATA[sitemap php]]></category>

		<guid isPermaLink="false">http://www.webmastersucks.com/?p=78</guid>
		<description><![CDATA[
			
				
			
		
We can create dynamic sitemap with using PHP &#38; Mysql. My example code is easy to apply your system.

&#60;?PHP
header('content-type: text/xml');

$mysql_username = &#34;&#34;;
$mysql_password = &#34;&#34;;
$mysql_database = &#34;&#34;;

$dblink = mysql_connect(&#34;localhost&#34;, &#34;$mysql_username&#34;, &#34;$mysql_password&#34;);
if (!$dblink) {
die('ERROR: Can not connect database' . mysql_error());
}
@mysql_select_db(&#34;$mysql_database&#34;) or die (&#34;ERROR: Cannot select database&#34;);

echo('&#60;'.'?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;'.'?'.'&#62;');
echo('&#60;urlset xmlns=&#34;http://www.google.com/schemas/sitemap/0.84&#34;&#62;');

$contentQ = mysql_query(&#34;SELECT * FROM content_table&#34;);
while($contentR = mysql_fetch_array($contentQ))
{
$url = [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.webmastersucks.com%2Fcreating-google-sitemap-in-php%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.webmastersucks.com%2Fcreating-google-sitemap-in-php%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>We can create dynamic sitemap with using PHP &amp; Mysql. My example code is easy to apply your system.</p>
<pre class="brush: php; title: ;">
&lt;?PHP
header('content-type: text/xml');

$mysql_username = &quot;&quot;;
$mysql_password = &quot;&quot;;
$mysql_database = &quot;&quot;;

$dblink = mysql_connect(&quot;localhost&quot;, &quot;$mysql_username&quot;, &quot;$mysql_password&quot;);
if (!$dblink) {
die('ERROR: Can not connect database' . mysql_error());
}
@mysql_select_db(&quot;$mysql_database&quot;) or die (&quot;ERROR: Cannot select database&quot;);

echo('&lt;'.'?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;'.'?'.'&gt;');
echo('&lt;urlset xmlns=&quot;http://www.google.com/schemas/sitemap/0.84&quot;&gt;');

$contentQ = mysql_query(&quot;SELECT * FROM content_table&quot;);
while($contentR = mysql_fetch_array($contentQ))
{
$url = $contentR[&quot;url&quot;];
$adding_date = date(&quot;Y-m-d&quot;,strtotime($contentR[&quot;adding_date&quot;]));
echo(&quot;&lt;url&gt;
&lt;loc&gt;http://www.example.com/&quot;.$url.&quot;&lt;/loc&gt;
&lt;lastmod&gt;&quot;.$adding_date.&quot;&lt;/lastmod&gt;
&lt;/url&gt;
&quot;);
}
$content2Q = mysql_query(&quot;SELECT * FROM content2_table&quot;);
while($content2R = mysql_fetch_array($content2Q))
{
$url = $content2R[&quot;url&quot;];
$adding_date = date(&quot;Y-m-d&quot;,strtotime($content2R[&quot;adding_date&quot;]));
echo(&quot;&lt;url&gt;
&lt;loc&gt;http://www.example.com/&quot;.$url.&quot;&lt;/loc&gt;
&lt;lastmod&gt;&quot;.$adding_date.&quot;&lt;/lastmod&gt;
&lt;/url&gt;
&quot;);
}
echo(&quot;&lt;/urlset&gt;&quot;);
?&gt;
</pre>
<p><strong>Google Sitemap Plugins for Wordpress</strong><br />
<a href="http://www.dicontas.co.uk/blog/google-sitemap-utw-tag-wordpress-plugin/">http://www.dicontas.co.uk/blog/google-sitemap-utw-tag-wordpress-plugin/</a><br />
<a href="http://www.arnebrachhold.de/redir/sitemap-home/">http://www.arnebrachhold.de/redir/sitemap-home/</a><br />
<a href="http://www.karailiev.net/karailievs-sitemap/">http://www.karailiev.net/karailievs-sitemap/</a><br />
<a href="http://southcoastwebsites.co.uk/wordpress/">http://southcoastwebsites.co.uk/wordpress/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersucks.com/creating-google-sitemap-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calculate Last Week, Last Month in Mysql</title>
		<link>http://www.webmastersucks.com/calculate-last-week-last-month-in-mysql/</link>
		<comments>http://www.webmastersucks.com/calculate-last-week-last-month-in-mysql/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 07:49:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[curdate]]></category>
		<category><![CDATA[current date]]></category>
		<category><![CDATA[date calculation]]></category>
		<category><![CDATA[date_add]]></category>
		<category><![CDATA[last month]]></category>
		<category><![CDATA[last week]]></category>
		<category><![CDATA[yesterday]]></category>

		<guid isPermaLink="false">http://www.webmastersucks.com/?p=52</guid>
		<description><![CDATA[
			
				
			
		
We need get datas from last week, last month, yesterday and today. We can do it easily in MySQL.
Getting Current Date
SELECT CURDATE();
Result : 2009-06-04
Getting Last Week Datas
SELECT DATE_ADD('2009-06-04', INTERVAL 7 DAY);
Getting Last Month Datas
SELECT DATE_ADD('2009-06-04', 1 MONTH);
Getting Last Year Datas
SELECT DATE_ADD('2009-06-04', INTERVAL 1 YEAR);
And Php example for this calculations, getting last month orders
mysql_query(&#34;SELECT * FROM [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.webmastersucks.com%2Fcalculate-last-week-last-month-in-mysql%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.webmastersucks.com%2Fcalculate-last-week-last-month-in-mysql%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>We need get datas from last week, last month, yesterday and today. We can do it easily in MySQL.</p>
<p><strong>Getting Current Date</strong></p>
<pre class="brush: plain; title: ;">SELECT CURDATE();</pre>
<p><strong>Result :</strong> 2009-06-04</p>
<p><strong>Getting Last Week Datas</strong></p>
<pre class="brush: plain; title: ;">SELECT DATE_ADD('2009-06-04', INTERVAL 7 DAY);</pre>
<p><strong>Getting Last Month Datas</strong></p>
<pre class="brush: plain; title: ;">SELECT DATE_ADD('2009-06-04', 1 MONTH);</pre>
<p><strong>Getting Last Year Datas</strong></p>
<pre class="brush: plain; title: ;">SELECT DATE_ADD('2009-06-04', INTERVAL 1 YEAR);</pre>
<p>And Php example for this calculations, getting last month orders</p>
<pre class="brush: php; title: ;">mysql_query(&quot;SELECT * FROM orders WHERE DATE_SUB(CURDATE(),INTERVAL 1 month) &lt;= order_date&quot;)); </pre>
<p>For more information of Date and time functions :<br />
<a href="http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html">http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersucks.com/calculate-last-week-last-month-in-mysql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Change MySQL Password via SSH</title>
		<link>http://www.webmastersucks.com/change-mysql-password-via-ssh/</link>
		<comments>http://www.webmastersucks.com/change-mysql-password-via-ssh/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 10:08:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.webmastersucks.com/?p=37</guid>
		<description><![CDATA[
			
				
			
		
login ssh, type mysqladmin. A tip if you can not remember mysql password type
mysql -uadmin -p`cat /etc/psa/.psa.shadow`

mysql&#62; USE mysql;
mysql&#62; SELECT * FROM user;
mysql&#62; SET PASSWORD FOR 'username'@'hostname' = PASSWORD('password_here');
mysql&#62; FLUSH PRIVILEGES;

]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.webmastersucks.com%2Fchange-mysql-password-via-ssh%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.webmastersucks.com%2Fchange-mysql-password-via-ssh%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>login ssh, type mysqladmin. A tip if you can not remember mysql password type</p>
<pre class="brush: plain; title: ;">mysql -uadmin -p`cat /etc/psa/.psa.shadow`</pre>
<pre class="brush: plain; title: ;">
mysql&gt; USE mysql;
mysql&gt; SELECT * FROM user;
mysql&gt; SET PASSWORD FOR 'username'@'hostname' = PASSWORD('password_here');
mysql&gt; FLUSH PRIVILEGES;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersucks.com/change-mysql-password-via-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting Unescape Chars in MySQL for SEO</title>
		<link>http://www.webmastersucks.com/converting-unescape-chars-in-mysql-for-seo/</link>
		<comments>http://www.webmastersucks.com/converting-unescape-chars-in-mysql-for-seo/#comments</comments>
		<pubDate>Sat, 30 May 2009 07:40:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[search engine optimization]]></category>

		<guid isPermaLink="false">http://www.webmastersucks.com/?p=12</guid>
		<description><![CDATA[
			
				
			
		
Sometimes, i need to convert datas for search engine optimization (SEO). I use MySQL replace command for this. Just login to phpmyadmin or any tool for run SQL command. Paste command set, change table and field name than run.

UPDATE table SET field = replace(field, 'À','A');
UPDATE table SET field = replace(field, 'Á','A');
UPDATE table SET field = [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.webmastersucks.com%2Fconverting-unescape-chars-in-mysql-for-seo%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.webmastersucks.com%2Fconverting-unescape-chars-in-mysql-for-seo%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Sometimes, i need to convert datas for search engine optimization (SEO). I use MySQL replace command for this. Just login to phpmyadmin or any tool for run SQL command. Paste command set, change table and field name than run.</p>
<pre class="brush: php; title: ;">
UPDATE table SET field = replace(field, 'À','A');
UPDATE table SET field = replace(field, 'Á','A');
UPDATE table SET field = replace(field, 'Â','A');
UPDATE table SET field = replace(field, 'Ã','A');
UPDATE table SET field = replace(field, 'Ä','A');
UPDATE table SET field = replace(field, 'Å','A');
UPDATE table SET field = replace(field, 'Æ','AE');
UPDATE table SET field = replace(field, 'Ç','C');
UPDATE table SET field = replace(field, 'È','E');
UPDATE table SET field = replace(field, 'É','E');
UPDATE table SET field = replace(field, 'Ê','E');
UPDATE table SET field = replace(field, 'Ë','E');
UPDATE table SET field = replace(field, 'Ì','I');
UPDATE table SET field = replace(field, 'Í','I');
UPDATE table SET field = replace(field, 'Î','I');
UPDATE table SET field = replace(field, 'Ï','I');
UPDATE table SET field = replace(field, 'Ò','O');
UPDATE table SET field = replace(field, 'Ó','O');
UPDATE table SET field = replace(field, 'Ô','O');
UPDATE table SET field = replace(field, 'Õ','O');
UPDATE table SET field = replace(field, 'Ö','O');
UPDATE table SET field = replace(field, '×','Z');
UPDATE table SET field = replace(field, 'Ø','O');
UPDATE table SET field = replace(field, 'Ù','U');
UPDATE table SET field = replace(field, 'Ú','U');
UPDATE table SET field = replace(field, 'Û','U');
UPDATE table SET field = replace(field, 'Ü','U');
UPDATE table SET field = replace(field, 'ß','ss');
UPDATE table SET field = replace(field, 'à','a');
UPDATE table SET field = replace(field, 'á','a');
UPDATE table SET field = replace(field, 'â','a');
UPDATE table SET field = replace(field, 'ã','a');
UPDATE table SET field = replace(field, 'ä','a');
UPDATE table SET field = replace(field, 'å','a');
UPDATE table SET field = replace(field, 'æ','ae');
UPDATE table SET field = replace(field, 'ç','c');
UPDATE table SET field = replace(field, 'è','e');
UPDATE table SET field = replace(field, 'é','e');
UPDATE table SET field = replace(field, 'ê','e');
UPDATE table SET field = replace(field, 'ë','e');
UPDATE table SET field = replace(field, 'ì','i');
UPDATE table SET field = replace(field, 'í','i');
UPDATE table SET field = replace(field, 'î','i');
UPDATE table SET field = replace(field, 'ï','i');
UPDATE table SET field = replace(field, 'ñ','n');
UPDATE table SET field = replace(field, 'ü','u');
UPDATE table SET field = replace(field, 'ò','o');
UPDATE table SET field = replace(field, 'ó','o');
UPDATE table SET field = replace(field, 'ô','o');
UPDATE table SET field = replace(field, 'õ','o');
UPDATE table SET field = replace(field, 'ö','o');
UPDATE table SET field = replace(field, 'ø','o');
UPDATE table SET field = replace(field, 'ù','u');
UPDATE table SET field = replace(field, 'ú','u');
UPDATE table SET field = replace(field, 'û','u');
UPDATE table SET field = replace(field, 'ÿ','y');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersucks.com/converting-unescape-chars-in-mysql-for-seo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open and Close Port in Linux</title>
		<link>http://www.webmastersucks.com/open-and-close-port-in-linux/</link>
		<comments>http://www.webmastersucks.com/open-and-close-port-in-linux/#comments</comments>
		<pubDate>Thu, 28 May 2009 20:25:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.webmastersucks.com/?p=6</guid>
		<description><![CDATA[
			
				
			
		
For more secure server, we have to close some ports to users. If need access to this ports, we can give permission to our IP address. We need static IP address for this operation. Please dont forget, &#8220;iptables&#8221; can be block all IP address but when you restart the server it will be clean all [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.webmastersucks.com%2Fopen-and-close-port-in-linux%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.webmastersucks.com%2Fopen-and-close-port-in-linux%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>For more secure server, we have to close some ports to users. If need access to this ports, we can give permission to our IP address. We need static IP address for this operation. Please dont forget, &#8220;iptables&#8221; can be block all IP address but when you restart the server it will be clean all of this commands. (I am using Fedora)</p>
<p><strong>Closing FTP port except xxx.xxx.xxx.xxx</strong></p>
<p>iptables -t filter -I INPUT 1 -p tcp -s ! xxx.xxx.xxx.xxx &#8211;dport 21 -j REJECT &#8211;reject-with icmp-host-prohibited</p>
<p><strong>Closing SSH port except xxx.xxx.xxx.xxx</strong></p>
<p>iptables -t filter -I INPUT 1 -p tcp -s ! xxx.xxx.xxx.xxx &#8211;dport ssh -j REJECT &#8211;reject-with icmp-host-prohibited</p>
<p><strong>Closing MySQL port except localhost</strong></p>
<p>iptables -A INPUT -i eth0 -s 192.168.1.0/24 -p tcp &#8211;destination-port 3306 -j ACCEPT</p>
<p><strong>Listing iptables list</strong></p>
<p>iptables -L</p>
<p><strong>Removing iptables data (Removing first one in list, type 2 for second one)</strong></p>
<p>iptables -D INPUT 1</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersucks.com/open-and-close-port-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Forgot WordPress Admin Password</title>
		<link>http://www.webmastersucks.com/forgot-wordpress-admin-password/</link>
		<comments>http://www.webmastersucks.com/forgot-wordpress-admin-password/#comments</comments>
		<pubDate>Wed, 27 May 2009 14:33:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://www.webmastersucks.com/?p=1</guid>
		<description><![CDATA[
			
				
			
		
Firstly; you need access to your MySQL Server and maybe access to your wp-config.php file in the root of your site.

Go www.md5-creator.com and type in a password you want to use.Example type &#8220;123&#8243; then copy. &#8220;123 in MD5 :&#8221; &#8217;s result is &#8220;202cb962ac59075b964b07152d234b70&#8243;
Than open your MySQL database, and click the wp_users table
Change &#8220;user_pass&#8221; value to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.webmastersucks.com%2Fforgot-wordpress-admin-password%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.webmastersucks.com%2Fforgot-wordpress-admin-password%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Firstly; you need access to your MySQL Server and maybe access to your wp-config.php file in the root of your site.</p>
<ol>
<li>Go <a href="http://www.md5-creator.com">www.md5-creator.com</a> and type in a password you want to use.Example type &#8220;123&#8243; then copy. &#8220;123 in MD5 :&#8221; &#8217;s result is &#8220;202cb962ac59075b964b07152d234b70&#8243;</li>
<li>Than open your MySQL database, and click the wp_users table</li>
<li>Change &#8220;user_pass&#8221; value to copied value. In our example &#8220;202cb962ac59075b964b07152d234b70&#8243;</li>
<li>Now go to your blog and log in <img src='http://www.webmastersucks.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersucks.com/forgot-wordpress-admin-password/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

