<?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>cogitsolution &#187; MySQL</title>
	<atom:link href="http://www.cogitsolutions.com/blog/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cogitsolutions.com/blog</link>
	<description>Customized, Optimized, Generalized Solutions</description>
	<lastBuildDate>Thu, 08 Dec 2011 04:48:55 +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>Recover MySQL root Password</title>
		<link>http://www.cogitsolutions.com/blog/2011/12/recover-mysql-root-password/</link>
		<comments>http://www.cogitsolutions.com/blog/2011/12/recover-mysql-root-password/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 04:48:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql recover password]]></category>

		<guid isPermaLink="false">http://www.cogitsolutions.com/blog/?p=141</guid>
		<description><![CDATA[to recover MySQL database server password use following five easy steps
Step # 1: Stop the MySQL server process.
Step  # 2: Start the MySQL (mysqld) server/daemon process with the  &#8211;skip-grant-tables option so that it will not prompt for password.
Step # 3: Connect to mysql server as the root user without password.
Step # 4: Setup [...]]]></description>
			<content:encoded><![CDATA[<p>to recover MySQL database server password use following five easy steps</p>
<p>Step # 1: Stop the MySQL server process.</p>
<p>Step  # 2: Start the MySQL (mysqld) server/daemon process with the  &#8211;skip-grant-tables option so that it will not prompt for password.</p>
<p>Step # 3: Connect to mysql server as the root user without password.</p>
<p>Step # 4: Setup new mysql root account password i.e. reset mysql password.</p>
<p>Step # 5:  Exit and restart the MySQL server.</p>
<p>Here are commands you need to type for each step (login as the root user):</p>
<h3>Step # 1 : <a href="http://www.cyberciti.biz/faq/mysql-startup-script-under-bsdlinux/">Stop mysql service</a></h3>
<p><code># /etc/init.d/mysql stop</code></p>
<h3>Step # 2: Start to MySQL server w/o password:</h3>
<p><code># mysqld_safe --skip-grant-tables &amp;</code></p>
<p>or</p>
<p><code># mysqld --skip-grant-tables<br />
</code></p>
<p><strong>Step # 3: Connect to mysql server using mysql client:</strong></p>
<p><code># mysql -u root</code></p>
<p>Step # 4: <a href="http://www.cyberciti.biz/faq/mysql-change-root-password/">Setup new MySQL root user password</a></p>
<p><code>mysql&gt; use mysql;<br />
mysql&gt; update user set password=PASSWORD("NEW-ROOT-PASSWORD") where User='root';<br />
mysql&gt; flush privileges;<br />
mysql&gt; quit</code></p>
<h3>Step # 5: Stop MySQL Server:</h3>
<p><code># /etc/init.d/mysql stop</code></p>
<p><strong>Step # 6: <a href="http://www.cyberciti.biz/faq/how-do-i-access-mysql-server-from-the-shell-prompt-command-line/">Start MySQL server and test it</a></strong></p>
<p><code># /etc/init.d/mysql start<br />
# mysql -u root -p</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cogitsolutions.com/blog/2011/12/recover-mysql-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Tables required to Import Products.</title>
		<link>http://www.cogitsolutions.com/blog/2009/12/magento-tables-required-to-import-products/</link>
		<comments>http://www.cogitsolutions.com/blog/2009/12/magento-tables-required-to-import-products/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 07:25:33 +0000</pubDate>
		<dc:creator>Manoj Ninave</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Web Development - PHP]]></category>

		<guid isPermaLink="false">http://www.cogitsolutions.com/blog/2009/12/magento-tables-required-to-import-products/</guid>
		<description><![CDATA[Data inserted in following tables while importing products.
1)adminnotification_inbox
2)catalogindex_eav
3)catalogindex_price
4)cataloginventory_stock_item
5)cataloginventory_stock_status
6)catalogsearch_fulltext
7)catalog_category_product
8)catalog_category_product_index
9)catalog_product_enabled_index
10)catalog_product_entity
11)catalog_product_entity_datetime
12)catalog_product_entity_decimal
13)catalog_product_entity_int
14)catalog_product_entity_media_gallery
15)catalog_product_entity_media_gallery_value
16)catalog_product_entity_text
17)catalog_product_entity_varchar
18)catalog_product_link
19)catalog_product_link_attribute_int
20)catalog_product_website
21)core_url_rewrite
Regard
Manoj Ninave
Software Engineer,
COG IT Solutions Pvt. Ltd.
www.cogitsolutions.com
n.manoj@cogitsolutions.com
]]></description>
			<content:encoded><![CDATA[<p>Data inserted in following tables while importing products.</p>
<p>1)adminnotification_inbox<br />
2)catalogindex_eav<br />
3)catalogindex_price<br />
4)cataloginventory_stock_item<br />
5)cataloginventory_stock_status<br />
6)catalogsearch_fulltext<br />
7)catalog_category_product<br />
8)catalog_category_product_index<br />
9)catalog_product_enabled_index<br />
10)catalog_product_entity<br />
11)catalog_product_entity_datetime<br />
12)catalog_product_entity_decimal<br />
13)catalog_product_entity_int<br />
14)catalog_product_entity_media_gallery<br />
15)catalog_product_entity_media_gallery_value<br />
16)catalog_product_entity_text<br />
17)catalog_product_entity_varchar<br />
18)catalog_product_link<br />
19)catalog_product_link_attribute_int<br />
20)catalog_product_website<br />
21)core_url_rewrite</p>
<p>Regard</p>
<p>Manoj Ninave</p>
<p>Software Engineer,<br />
COG IT Solutions Pvt. Ltd.<br />
www.cogitsolutions.com<br />
n.manoj@cogitsolutions.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cogitsolutions.com/blog/2009/12/magento-tables-required-to-import-products/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL_CALC_FOUND_ROWS or two queries</title>
		<link>http://www.cogitsolutions.com/blog/2009/10/sql_calc_found_rows-or-two-queries/</link>
		<comments>http://www.cogitsolutions.com/blog/2009/10/sql_calc_found_rows-or-two-queries/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 14:42:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.cogitsolutions.com/blog/2009/10/sql_calc_found_rows-or-two-queries/</guid>
		<description><![CDATA[While reading few posts I found that SQL_CALC_FOUND_ROWS is faster than two queries. But a very good discussion found at http://www.mysqlperformanceblog.com/2007/08/28/to-sql_calc_found_rows-or-not-to-sql_calc_found_rows/comment-page-1/#comment-661064. check this out
One member posted following on above blog which is worth to read
Please visit the mysql official documentation here http://dev.mysql.com/doc/refman/5.1/en/information-functions.html
Please have a look at FOUND_ROWS() function. They have mentioned that it is much [...]]]></description>
			<content:encoded><![CDATA[<p>While reading few posts I found that SQL_CALC_FOUND_ROWS is faster than two queries. But a very good discussion found at http://www.mysqlperformanceblog.com/2007/08/28/to-sql_calc_found_rows-or-not-to-sql_calc_found_rows/comment-page-1/#comment-661064. check this out</p>
<p>One member posted following on above blog which is worth to read</p>
<p>Please visit the mysql official documentation here http://dev.mysql.com/doc/refman/5.1/en/information-functions.html</p>
<p>Please have a look at FOUND_ROWS() function. They have mentioned that it is much faster to use the query with sql_calc_found_rows rather than using a query again. And I don’t find any reason not to trust them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cogitsolutions.com/blog/2009/10/sql_calc_found_rows-or-two-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resetting a forgotten MySQL root password</title>
		<link>http://www.cogitsolutions.com/blog/2009/03/resetting-a-forgotten-mysql-root-password/</link>
		<comments>http://www.cogitsolutions.com/blog/2009/03/resetting-a-forgotten-mysql-root-password/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 06:47:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[reset root password]]></category>
		<category><![CDATA[root password]]></category>

		<guid isPermaLink="false">http://www.cogitsolutions.com/blog/?p=18</guid>
		<description><![CDATA[
Stop mysqld and restart it with the                 --skip-grant-tables option.

to start use # /usr/bin/mysqld_safe --skip-grant-tables

Connect to the mysqld server with                 this command:(you may have [...]]]></description>
			<content:encoded><![CDATA[<ol type="1">
<li>Stop <a title="4.3.1. mysqld — The MySQL Server" href="http://dev.mysql.com/doc/refman/5.1/en/mysqld.html"><span><strong class="command">mysqld</strong></span></a> and restart it with the                 <a href="http://dev.mysql.com/doc/refman/5.1/en/server-options.html#option_mysqld_skip-grant-tables"><code class="option">--skip-grant-tables</code></a> option.</li>
<li>
<pre>to start use # /usr/bin/mysqld_safe --skip-grant-tables</pre>
</li>
<li>Connect to the <a title="4.3.1. mysqld — The MySQL Server" href="http://dev.mysql.com/doc/refman/5.1/en/mysqld.html"><span><strong class="command">mysqld</strong></span></a> server with                 this command:(you may have to use new shell / window for this)
<pre class="programlisting">shell&gt; <strong class="userinput"><code>mysql</code></strong></pre>
</li>
<li>Issue the following statements in the                 <a title="4.5.1. mysql — The MySQL Command-Line Tool" href="http://dev.mysql.com/doc/refman/5.1/en/mysql.html"><span><strong class="command">mysql</strong></span></a> client. Replace the password                 with the password that you want to use.
<pre class="programlisting">mysql&gt; <strong class="userinput"><code>UPDATE mysql.user SET Password=PASSWORD('MyNewPass')</code></strong>
    -&gt;                   <strong class="userinput"><code>WHERE User='root';</code></strong>
mysql&gt; <strong class="userinput"><code>FLUSH PRIVILEGES;</code></strong></pre>
</li>
<li><span class="userinput">stop mysqld server</span><strong class="userinput"> </strong><span class="userinput">using</span><strong class="userinput"> service mysqld stop -</strong><span style="text-decoration: underline;"><span class="userinput"> <em>make sure to stop and restart so that new service will be password protected</em></span></span><strong class="userinput"><br />
</strong></li>
<li><span class="userinput">restart </span><span class="userinput">server </span><strong class="userinput">with service mysqld start<br />
</strong></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.cogitsolutions.com/blog/2009/03/resetting-a-forgotten-mysql-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

