<?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>Learning On Demand &#187; Database</title>
	<atom:link href="http://www.rasyid.net/category/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rasyid.net</link>
	<description>Learning anything from anywhere</description>
	<lastBuildDate>Sun, 12 Feb 2012 18:07:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>mysql error : Can&#8217;t create/write to file &#8216;/tmp/#sql_1581_0.MYI&#8217; (Errcode: 13)</title>
		<link>http://www.rasyid.net/2010/12/12/mysql-error-cant-createwrite-to-file-tmpsql_1581_0-myi-errcode-13/</link>
		<comments>http://www.rasyid.net/2010/12/12/mysql-error-cant-createwrite-to-file-tmpsql_1581_0-myi-errcode-13/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 04:13:51 +0000</pubDate>
		<dc:creator>alamster</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[mysql error]]></category>

		<guid isPermaLink="false">http://www.rasyid.net/?p=2723</guid>
		<description><![CDATA[Recent PHP downgrade to 5.2.10 also bring another problem with phpmyadmin. When I try to browse data it work but when I try to see table structure I have this error : Can&#8217;t create/write to file &#8216;/tmp/#sql_1581_0.MYI&#8217; (Errcode: 13) Being curios if the problem caused by phpmyadmin I try shell way : # mysql -uroot [...]]]></description>
			<content:encoded><![CDATA[<p>Recent <a href="http://www.rasyid.net/2010/12/10/downgrade-php-version-from-5-3-to-5-2-on-ubuntu-10-04-i386/" target="_blank">PHP downgrade to 5.2.10</a> also bring another problem with phpmyadmin. When I try to browse data it work but when I try to see table structure I have this error :</p>
<blockquote><p>Can&#8217;t create/write to file &#8216;/tmp/#sql_1581_0.MYI&#8217; (Errcode: 13)</p></blockquote>
<p><img class="alignnone size-full wp-image-2724" title="mysql_error" src="http://www.rasyid.net/wp-content/uploads/2010/12/mysql_error.png" alt="mysql error mysql error : Cant create/write to file /tmp/#sql 1581 0.MYI (Errcode: 13)" width="473" height="185" /></p>
<p>Being curios if the problem caused by phpmyadmin I try shell way :</p>
<blockquote><p># mysql -uroot -p</p></blockquote>
<p>Enter password:<br />
Welcome to the MySQL monitor.Â  Commands end with ; or \g.<br />
Your MySQL connection id is 106<br />
Server version: 5.1.41-3ubuntu12.8 (Ubuntu)</p>
<p>Type &#8216;help;&#8217; or &#8216;\h&#8217; for help. Type &#8216;\c&#8217; to clear the current input statement.</p>
<p>mysql&gt; use mysql;<br />
Reading table information for completion of table and column names<br />
You can turn off this feature to get a quicker startup with -A</p>
<p>Database changed<br />
mysql&gt; desc user;<br />
ERROR 1 (HY000): Can&#8217;t create/write to file &#8216;/tmp/#sql_1581_0.MYI&#8217; (Errcode: 13)<br />
mysql&gt;</p>
<p>Ups, seem same problem.</p>
<p>Looking log data</p>
<blockquote><p># tail -f /var/log/mysql/error.log</p></blockquote>
<p>101217Â  0:10:02 [Note] /usr/sbin/mysqld: Shutdown complete</p>
<p>101217Â  0:10:02 [Note] Plugin &#8216;FEDERATED&#8217; is disabled.<br />
/usr/sbin/mysqld: Can&#8217;t create/write to file &#8216;/tmp/ibLwkhPZ&#8217; (Errcode: 13)<br />
101217Â  0:10:02Â  InnoDB: Error: unable to create temporary file; errno: 13<br />
101217Â  0:10:02 [ERROR] Plugin &#8216;InnoDB&#8217; init function returned error.<br />
101217Â  0:10:02 [ERROR] Plugin &#8216;InnoDB&#8217; registration as a STORAGE ENGINE failed.<br />
101217Â  0:10:02 [Note] Event Scheduler: Loaded 0 events<br />
101217Â  0:10:02 [Note] /usr/sbin/mysqld: ready for connections.<br />
Version: &#8217;5.1.41-3ubuntu12.8&#8242;Â  socket: &#8216;/var/run/mysqld/mysqld.sock&#8217;Â  port: 3306Â  (Ubuntu)</p>
<p>I guess its permission problem and quick solution for the problem.</p>
<blockquote><p># ls -l / | grep tmp</p></blockquote>
<blockquote><p>drwxr-xr-xÂ Â  4 root rootÂ  4096 2010-12-17 00:10 tmp<br />
#</p>
<p># chmod 777 /tmp</p></blockquote>
<p>Recheck with shell</p>
<blockquote><p># mysql -uroot -p</p></blockquote>
<p>Enter password:<br />
Welcome to the MySQL monitor.Â  Commands end with ; or \g.<br />
Your MySQL connection id is 112<br />
Server version: 5.1.41-3ubuntu12.8 (Ubuntu)</p>
<p>Type &#8216;help;&#8217; or &#8216;\h&#8217; for help. Type &#8216;\c&#8217; to clear the current input statement.</p>
<p>mysql&gt; use mysql;<br />
Reading table information for completion of table and column names<br />
You can turn off this feature to get a quicker startup with -A</p>
<p>Database changed<br />
mysql&gt; desc user;<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;+&#8212;&#8211;+&#8212;&#8212;&#8212;+&#8212;&#8212;-+<br />
| FieldÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  | TypeÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  | Null | Key | Default | Extra |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;+&#8212;&#8211;+&#8212;&#8212;&#8212;+&#8212;&#8212;-+<br />
| HostÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  | char(60)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  | NOÂ Â  | PRI |Â Â Â Â Â Â Â Â  |Â Â Â Â Â Â  |<br />
| UserÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  | char(16)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  | NOÂ Â  | PRI |Â Â Â Â Â Â Â Â  |Â Â Â Â Â Â  |<br />
| PasswordÂ Â Â Â Â Â Â Â Â Â Â Â Â  | char(41)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  | NOÂ Â  |Â Â Â Â  |Â Â Â Â Â Â Â Â  |Â Â Â Â Â Â  |<br />
| Select_privÂ Â Â Â Â Â Â Â Â Â  | enum(&#8216;N&#8217;,'Y&#8217;)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  | NOÂ Â  |Â Â Â Â  | NÂ Â Â Â Â Â  |Â Â Â Â Â Â  |<br />
| Insert_privÂ Â Â Â Â Â Â Â Â Â  | enum(&#8216;N&#8217;,'Y&#8217;)Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  | NOÂ Â  |Â Â Â Â  | NÂ Â Â Â Â Â  |Â Â Â Â Â Â  |<br />
| Update_privÂ Â Â Â Â Â Â Â Â Â  | enum(&#8216;N&#8217;,'Y&#8217;)</p>
<p>more &#8230;&#8230;&#8230;&#8230;</p>
<p>great.</p>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.rasyid.net">Learning On Demand</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact alamster@gmail.com so we can take legal action immediately.<br/><span style="float: right;font-size: 7pt"><a href="http://redirectingat.com?id=23616X850408&xs=1&url=http%3A%2F%2Fblog.taragana.com%2Findex.php%2Farchive%2Fwordpress-plugins-provided-by-taraganacom%2F&sref=rss" rel="external nofollow">Plugin</a> by <a href="http://redirectingat.com?id=23616X850408&xs=1&url=http%3A%2F%2Fwww.taragana.com%2F&sref=rss" rel="external nofollow">Taragana</a></span><p><a href="http://redirectingat.com?id=23616X850408&xs=1&url=https%3A%2F%2Fplus.google.com%2F111076104099093236158%3Frel%3Dauthor&sref=rss" rel="author"><img src="http://www.google.com/images/icons/ui/gprofile_button-16.png" title="gprofile button 16 photo" alt="gprofile button 16 mysql error : Cant create/write to file /tmp/#sql 1581 0.MYI (Errcode: 13)" /></a></p><ul><li>Plugin FEDERATED is disabled</li><li>InnoDB: Error: unable to create temporary file; errno: 13</li><li>extract: error writing to file c:\windows\temp\nsc5d tmp\uzermgr dll</li><li>errcode: 30</li><li>#1 - can\t create/write to file \\\tmp\\#sql4fc_1_0 myi\ (errcode: 2)</li></ul>
<div class="skimlinks-disclosure-button"><p><script class="skimlinks_ref_script" type="text/javascript" src="http://static.skimlinks.com/api/ref.js?p=23616&amp;d=850408&amp;t=1"></script></p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rasyid.net/2010/12/12/mysql-error-cant-createwrite-to-file-tmpsql_1581_0-myi-errcode-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can&#8217;t locate Compress/Zlib.pm</title>
		<link>http://www.rasyid.net/2008/10/07/cant-locate-compresszlibpm/</link>
		<comments>http://www.rasyid.net/2008/10/07/cant-locate-compresszlibpm/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 00:47:42 +0000</pubDate>
		<dc:creator>alamster</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[backup mysql]]></category>

		<guid isPermaLink="false">http://www.rasyid.net/?p=1921</guid>
		<description><![CDATA[edp# perl /usr/local/sbin/mysqlblasy.pl Can&#8217;t locate Compress/Zlib.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 11. BEGIN failed&#8211;compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm lineÂ  11. Compilation failed in require at /usr/local/sbin/mysqlblasy.pl line 1340. BEGIN failed&#8211;compilation aborted at /usr/local/sbin/mysqlblasy.pl line 1340. Solution : edp# cd /usr/ports/archivers/ edp# cd p5-Compress-Zlib &#38;&#38; make install edp# [...]]]></description>
			<content:encoded><![CDATA[<div id=":52" class="ArwC7c ckChnd">
<div dir="ltr">
<p>edp# <strong>perl /usr/local/sbin/mysqlblasy.pl</strong><br />
Can&#8217;t locate Compress/Zlib.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN</p>
<p>/usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8</p>
<p>/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at</p>
<p>/usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 11.</p>
<p>BEGIN failed&#8211;compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Archive/Zip.pm lineÂ  11.<br />
Compilation failed in require at /usr/local/sbin/mysqlblasy.pl line 1340.<br />
BEGIN failed&#8211;compilation aborted at /usr/local/sbin/mysqlblasy.pl line 1340.</p>
<p>Solution :</p>
<p>edp# <strong>cd /usr/ports/archivers/</strong></p>
<p>edp# <strong>cd p5-Compress-Zlib &amp;&amp; make install</strong><br />
edp# <strong>rehash</strong></p>
<p>Try again :</p>
<p>edp# <strong>perl /usr/local/sbin/mysqlblasy.pl</strong></p>
<div>edp# cd /data/db2/<br />
edp# ls<br />
localhost_2008_10_06-16_15_30.tar.gz<br />
edp#</div>
<div></div>
<div>Yes, it works <img src='http://www.rasyid.net/wp-includes/images/smilies/icon_smile.gif' alt="icon smile Cant locate Compress/Zlib.pm" class='wp-smiley' title="icon smile photo" /> </div>
<div></div>
</div>
</div>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.rasyid.net">Learning On Demand</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact alamster@gmail.com so we can take legal action immediately.<br/><span style="float: right;font-size: 7pt"><a href="http://redirectingat.com?id=23616X850408&xs=1&url=http%3A%2F%2Fblog.taragana.com%2Findex.php%2Farchive%2Fwordpress-plugins-provided-by-taraganacom%2F&sref=rss" rel="external nofollow">Plugin</a> by <a href="http://redirectingat.com?id=23616X850408&xs=1&url=http%3A%2F%2Fwww.taragana.com%2F&sref=rss" rel="external nofollow">Taragana</a></span><p><a href="http://redirectingat.com?id=23616X850408&xs=1&url=https%3A%2F%2Fplus.google.com%2F111076104099093236158%3Frel%3Dauthor&sref=rss" rel="author"><img src="http://www.google.com/images/icons/ui/gprofile_button-16.png" title="gprofile button 16 photo" alt="gprofile button 16 Cant locate Compress/Zlib.pm" /></a></p><ul><li>zlib pm</li><li>Cant locate Compress/Zlib pm</li><li>Cant locate Compress/Zlib pm in @INC</li><li>Compress/Zlib pm</li><li>Can\t locate Compress/Zlib pm</li></ul>
<div class="skimlinks-disclosure-button"><p><script class="skimlinks_ref_script" type="text/javascript" src="http://static.skimlinks.com/api/ref.js?p=23616&amp;d=850408&amp;t=1"></script></p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rasyid.net/2008/10/07/cant-locate-compresszlibpm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

