<?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>Ask me Questions and get Answers ! &#187; MYSQL</title>
	<atom:link href="http://askmetoo.com/tag/mysql/feed" rel="self" type="application/rss+xml" />
	<link>http://askmetoo.com</link>
	<description>Ask Questions and get Answers About everything for free!</description>
	<lastBuildDate>Wed, 21 Dec 2011 08:04:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Mysql:  How to repair all mysql tables in MySQL?</title>
		<link>http://askmetoo.com/mysql-how-to-repair-all-mysql-tables-in-mysql.htm</link>
		<comments>http://askmetoo.com/mysql-how-to-repair-all-mysql-tables-in-mysql.htm#comments</comments>
		<pubDate>Fri, 06 Nov 2009 08:04:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[repair]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=133</guid>
		<description><![CDATA[How to repair in MYSQL all tables ? Just run in console 1 mysqlcheck -u root -p --auto-repair --check --optimize --all-databases -p[password] Where password &#8211; this is admin password!]]></description>
			<content:encoded><![CDATA[<p> How to repair in MYSQL all tables ?</p>
<p>Just run in console</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bach" style="font-family:monospace;">mysqlcheck -u root -p --auto-repair --check --optimize --all-databases -p[password]</pre></td></tr></table></div>

<p>Where <strong>password</strong> &#8211; this is admin password!</p>
]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/mysql-how-to-repair-all-mysql-tables-in-mysql.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get all spam comets from WordPress blog ?</title>
		<link>http://askmetoo.com/how-to-get-all-spam-comets-from-wordpress-blog.htm</link>
		<comments>http://askmetoo.com/how-to-get-all-spam-comets-from-wordpress-blog.htm#comments</comments>
		<pubDate>Fri, 25 Sep 2009 12:13:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=126</guid>
		<description><![CDATA[Run this code from phpmyadmin 1 2 3 SELECT * FROM `wp_comments` WHERE `comment_approved` LIKE 'spam']]></description>
			<content:encoded><![CDATA[<p>Run this code from phpmyadmin</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="mysql" style="font-family:monospace;"> <span style="color: #990099; font-weight: bold;">SELECT</span> <span style="color: #CC0099;">*</span>
<span style="color: #990099; font-weight: bold;">FROM</span> <span style="color: #008000;">`wp<span style="color: #008080; font-weight: bold;">_</span>comments`</span>
<span style="color: #990099; font-weight: bold;">WHERE</span> <span style="color: #008000;">`comment<span style="color: #008080; font-weight: bold;">_</span>approved`</span> <span style="color: #CC0099; font-weight: bold;">LIKE</span> <span style="color: #008000;">'spam'</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/how-to-get-all-spam-comets-from-wordpress-blog.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to &#8211; MySQL tuning  in debian.</title>
		<link>http://askmetoo.com/how-to-mysql-tuning-in-debian.htm</link>
		<comments>http://askmetoo.com/how-to-mysql-tuning-in-debian.htm#comments</comments>
		<pubDate>Thu, 24 Sep 2009 08:11:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[Unix-Linux]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=124</guid>
		<description><![CDATA[Results of compiling this scripts was recommendations how to change mysql params. note. For best result please run MYSQL before testing &#8211; 48 hours! 1 2 3 wget http://mysqltuner.com/mysqltuner.pl chmod +x mysqltuner.pl ./mysqltuner.pl OR (also) try this script 1 2 wget http://www.day32.com/MySQL/tuning-primer.sh sh tuning-primer.sh]]></description>
			<content:encoded><![CDATA[<p>Results of compiling this scripts was recommendations how to change mysql params.<br />
note. <strong>For best result please run MYSQL before testing &#8211; 48 hours!</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">wget http://mysqltuner.com/mysqltuner.pl
chmod +x mysqltuner.pl
./mysqltuner.pl</pre></td></tr></table></div>

<p>OR (also) try this script</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">wget http://www.day32.com/MySQL/tuning-primer.sh
sh tuning-primer.sh</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/how-to-mysql-tuning-in-debian.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpdug symbols encoding problem</title>
		<link>http://askmetoo.com/phpdug-symbols-encoding-problem.htm</link>
		<comments>http://askmetoo.com/phpdug-symbols-encoding-problem.htm#comments</comments>
		<pubDate>Fri, 25 Jul 2008 06:19:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[MYSQL]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=21</guid>
		<description><![CDATA[phpdug coul not works normal with russian and other languages well in front and backed to fix this you need just add 1 2 3 4 5 mysql_query&#40; &#34;set session character_set_server=utf8;&#34;, $db_connection &#41;; mysql_query&#40; &#34;set session character_set_database=utf8;&#34;, $db_connection &#41;; mysql_query&#40; &#34;set session character_set_connection=utf8;&#34;, $db_connection &#41;; mysql_query&#40; &#34;set session character_set_results=utf8;&#34;, $db_connection &#41;; mysql_query&#40; &#34;set session character_set_client=utf8;&#34;, $db_connection &#41;; to line 81 1 2 [...]]]></description>
			<content:encoded><![CDATA[<p>phpdug coul not works normal with russian and other languages well in front and backed</p>
<p>to fix this you need just add</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;set session character_set_server=utf8;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db_connection</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;set session character_set_database=utf8;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db_connection</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;set session character_set_connection=utf8;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db_connection</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;set session character_set_results=utf8;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db_connection</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;set session character_set_client=utf8;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db_connection</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>to</p>
<p>line 81</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> db_connect<span style="color: #009900;">&#40;</span><span style="color: #000088;">$config</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$db_connection</span> <span style="color: #339933;">=</span> <span style="color: #339933;">@</span><span style="color: #990000;">mysql_connect</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'db'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'host'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'db'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'user'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'db'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'pass'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> OR error <span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #000088;">$config</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">__LINE__</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$db_select</span> <span style="color: #339933;">=</span> <span style="color: #339933;">@</span><span style="color: #990000;">mysql_select_db</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'db'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> or error <span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #000088;">$config</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">__LINE__</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;set session character_set_server=utf8;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db_connection</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;set session character_set_database=utf8;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db_connection</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;set session character_set_connection=utf8;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db_connection</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;set session character_set_results=utf8;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db_connection</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;set session character_set_client=utf8;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$db_connection</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$db_connection</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p><strong>public_html\includes\functions\func.global.php</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/phpdug-symbols-encoding-problem.htm/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

