<?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>futuremix &#187; MySQL</title>
	<atom:link href="http://futuremix.org/tag/mysql/feed" rel="self" type="application/rss+xml" />
	<link>http://futuremix.org</link>
	<description>津田ふみかの日記・言想風景改め未来模景。 Remix The Future.</description>
	<lastBuildDate>Thu, 18 Mar 2010 16:40:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress 2.9 リリース。MySQL 4.1.2 以降が必須に</title>
		<link>http://futuremix.org/2009/12/wordpress-2-9-release</link>
		<comments>http://futuremix.org/2009/12/wordpress-2-9-release#comments</comments>
		<pubDate>Mon, 21 Dec 2009 06:40:32 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://futuremix.org/?p=3049</guid>
		<description><![CDATA[
  WordPress 2.9 がリリースされました。youtube のビデオをプラグイン無しで簡単に埋め込むことができるようになるなど、様々な点が改良されています。


  2.9 からは、MySQL の 4.1.2 [...]]]></description>
			<content:encoded><![CDATA[<p>
  WordPress 2.9 がリリースされました。youtube のビデオをプラグイン無しで簡単に埋め込むことができるようになるなど、様々な点が改良されています。
</p>
<p>
  2.9 からは、MySQL の 4.1.2 以降が必須となっています。まあ MySQL 4.0 系列のサポートはすでに打ち切られているので、いつこうなってもおかしくありませんでしたが、一部のレンタルサーバなどではまだ 4.0系列を使っているところもあり、バージョンアップしようとするとエラーが出てしまいます。
</p>
<div class="screenshot">
  <a href="http://futuremix.org/2009/12/wordpress-2-9-release/wordpress-29-upgrade-error" rel="attachment wp-att-3050"><img src="http://futuremix.org/wp-content/uploads/2009/12/wordpress-29-upgrade-error-500x164.png" alt="" title="The update cannot be installed because WordPress 2.9 requires MySQL version 4.1.2 or higher. You are running version 4.0.27." width="500" height="164" class="alignnone size-medium wp-image-3050" /></a>
</div>
<p>
  また、バージョンアップすると、プラグインとして利用してる &#8220;Simple Tags&#8221; が動かなくなっしまいました。次のようなメッセージが出ます。
</p>
<pre class="log">
Simple Tags can't work with this WordPress version !
</pre>
<p>
  暫定的な回避策として、プラグインを編集して、
</p>
<pre class="code">
if ( strpos($wp_version, '2.7') !== false || strpos($wp_version, '2.8') !== false  ) {
</pre>
<p>
の部分を
</p>
<pre class="code">
if ( strpos($wp_version, '2.7') !== false || strpos($wp_version, '2.8') !== false || strpos($wp_version, '2.9') !== false ) {
</pre>
<p>
  に変更することで対応できました。</p>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2009/12/wordpress-2-9-release/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CentOS5 に phpMyAdmin をインストール</title>
		<link>http://futuremix.org/2009/11/centos5-phpmyadmin-install</link>
		<comments>http://futuremix.org/2009/11/centos5-phpmyadmin-install#comments</comments>
		<pubDate>Wed, 25 Nov 2009 22:00:49 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://futuremix.org/?p=2981</guid>
		<description><![CDATA[インストール

  EPEL に RPM パッケージが用意されています。yum で EPEL を使えるようにして phpMyAdmin をインストールします。


# yum install phpMyAdmin

アク [...]]]></description>
			<content:encoded><![CDATA[<h3>インストール</h3>
<p>
  EPEL に RPM パッケージが用意されています。<a href="http://futuremix.org/2009/01/centos-epel-atrpms-yum">yum で EPEL を使えるように</a>して phpMyAdmin をインストールします。
</p>
<pre class="command">
# yum install phpMyAdmin
</pre>
<h3>アクセス許可</h3>
<p>
  初期状態では、サーバのローカルからしか許可されていません。これをローカルエリアネットワークからアクセスできるように許可するには、/etc/httpd/conf.d/phpMyAdmin.conf を編集します。
</p>
<pre class="config">
&lt;Directory "/usr/share/phpmyadmin"&gt;
  Order Deny,Allow
  Deny from all
  Allow from 127.0.0.1
  <kbd>Allow from 192.168.1.0/24</kbd> ←追加
&lt;/Directory&gt;
</pre>
<p>
  これで http://サーバ名/phpmyadmin/ にアクセスして、ログイン画面が出ればOKです。
</p>
<p>
  もちろん、インターネット側からアクセスできるような設定もできますが、その場合は IP アドレスを限定したり Digest 認証の設定をするなどセキュリティには注意を払いましょう。
</p>
<h3>「mcrypt 拡張をロードできません」のエラー</h3>
<div class="screenshot">
<img src="http://futuremix.org/wp-content/uploads/2009/11/phpMyAdmin_mcrypt.png" alt="phpMyAdmin の mcrypt のエラー" title="phpMyAdmin の mcrypt のエラー" width="508" height="468" class="alignnone size-full wp-image-3003" />
</div>
<p>
  「<samp class="error">mcrypt 拡張をロードできません。PHPの設定を確認してください</samp>」というエラーが出た場合は、php-mcrypt パッケージがインストールされていません。yum でインストールして、Apache を再起動します。
</p>
<pre class="command">
# yum install php-mcrypt
# service httpd graceful
</pre>
<h3>blowfish_secret の設定</h3>
<div class="screenshot">
  <img src="http://futuremix.org/wp-content/uploads/2009/11/phpMyAdmin_browfish-secret.png" alt="phpMyAdmin の browfish_secret が未設定というエラー画面" title="phpMyAdmin の browfish_secret が未設定というエラー画面" width="511" height="367" class="alignnone size-full wp-image-3004" />
</div>
<p>
「<samp class="error">設定ファイルが秘密のパスフレーズ（blowfis_secret）を必要とするようになりました</samp>」というエラーが出た場合は、/usr/share/phpmyadmin/config.inc.php ファイルを編集して、<var>$cfg['blowfish_secret']</var> に秘密のパスフレーズを設定します。
</p>
<pre class="config">
$cfg['blowfish_secret'] = '<em>ここに秘密のパスフレーズを設定</em>'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
</pre>
<h3>サーバが応答しません (あるいはローカルの MySQL サーバのソケットが正しく設定されていません)のエラー</h3>
<div class="screenshot">
  <img src="http://futuremix.org/wp-content/uploads/2009/11/phpMyAdmin_socket_error.png" alt="サーバが応答しません (あるいはローカルの MySQL サーバのソケットが正しく設定されていません)ｋ５o\" title="サーバが応答しません (あるいはローカルの MySQL サーバのソケットが正しく設定されていません)ｋ５o\" width="506" height="482" class="alignnone size-full wp-image-3005" />
</div>
<p>
  「サーバが応答しません (あるいはローカルの MySQL サーバのソケットが正しく設定されていません)」というエラーが出るときは、メッセージどおり、MySQL のサーバが動いていない可能性があります。phpMyAdmin と MySQL のホストが異なる場合は、/usr/share/phpmyadmin/config.inc.php の $cfg['Servers'][$i]['host'] を変更します。
</p>
<pre class="config">
$cfg['Servers'][$i]['host'] = '<kbd>192.168.1.100</kbd>';  //←localhost から変更
</pre>
<p>
  RPM インストールであれば問題ないはずですが、それでもつながらない場合、ソケットの場所を確認します。ターミナルから mysql コマンドで接続したら　statusコマンドでソケットのパスを確認します。
</p>
<pre class="command">
$ mysql -u root
mysql&gt; status
<samp>--------------
UNIX socket:            /var/lib/mysql/mysql.sock</samp>
</pre>
<p>
  このパスを、phpMyAdmin の config.inc.php に記述します。また connect_type も確認しましょう。
</p>
<pre class="config">
$cfg['Servers'][$i]['connect_type']  = '<kbd>socket</kbd>';       // ←tcpから変更
$cfg['Servers'][$i]['socket']        = '<kbd>/var/lib/mysql/mysql.sock</kbd>';
</pre>
<h3>ログイン画面の前にブラウザのパスワードダイアログが表示される</h3>
<p>
  ログイン画面の前にパスワードダイアログがでる場合、以下の方法でログイン画面の表示に変更できます。管理画面に別途 Digest 認証などをかけているときは干渉して都合が悪いです。
</p>
<pre class="config">
$cfg['Servers'][$i]['auth_type']     = 'cookie'; //←http から変更
</pre>
<p>
  ログイン画面が出たら、通常は mysql データベースのログインアカウントとパスワードで入れるはずです。MySQL の初期状態では root ユーザでパスワード無しでは入れてしまいますので、その場合は root のパスワードを設定しましょう。</p>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2009/11/centos5-phpmyadmin-install/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>osCommerce が MySQL5 で動かない場合の対処</title>
		<link>http://futuremix.org/2009/11/oscommerce-mysql5</link>
		<comments>http://futuremix.org/2009/11/oscommerce-mysql5#comments</comments>
		<pubDate>Sat, 21 Nov 2009 11:56:43 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[osCommerce]]></category>

		<guid isPermaLink="false">http://futuremix.org/?p=2978</guid>
		<description><![CDATA[
  オープンソースの E-コマースソフト osCommerce を使ったサイトを MySQL 4.1 のサーバから MySQL 5.0 のサーバに移しましたが、エゴ来ません。[　アトム-サイト　] Web osComm [...]]]></description>
			<content:encoded><![CDATA[<p>
  オープンソースの E-コマースソフト osCommerce を使ったサイトを MySQL 4.1 のサーバから MySQL 5.0 のサーバに移しましたが、エゴ来ません。<a href="http://atom.blogdns.com/1/320.html" title="[　アトム-サイト　] Web osCommerce　インストール">[　アトム-サイト　] Web osCommerce　インストール</a>を参考にして以下の点を変更したら動かすことができました。
</p>
<h3>php.ini 変更</h3>
<p>
  <var>register_long_arrays</var> を有効にします。</p>
<pre class="config>
  register_long_arrays = On
</pre>
<p>
  コレが無効の場合、SQL の実行に失敗してもエラーすら出ないので原因が分からないという状態でした。
</p>
<h3>catalog/default.php の SQL 修正</h3>
<p>
  以下のようなエラーメッセージが出ます。
</p>
<pre class="log">
「1054 - Unknown column 'p.products_id' in 'on clause'」
</pre>
<div class="screenshot">
<img src="http://futuremix.org/wp-content/uploads/2009/11/oscommerce-mysql5-error-500x149.png" alt="osCommerce を MySQL5.0 で使ったときのエラー" title="osCommerce を MySQL5.0 で使ったときのエラー" width="500" height="149" class="alignnone size-medium wp-image-2979" />
</div>
<p>
  この場合は、catalog/defaul.php 中の SQL 文で、left join の前の部分を <kbd>(</kbd>, <kbd>)</kbd> で括ってやればよいようです。MySQL 4.1 より MySQL 5.0 では文法的なチェックが厳しくなったためということです。
</p>
<pre class="code">
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from <kbd>((</kbd>" . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p<kbd>)</kbd> left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c <kbd>)</kbd>left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and
</pre>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2009/11/oscommerce-mysql5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle が SUN を買収。狙いは Java</title>
		<link>http://futuremix.org/2009/04/oracle-buy-sun</link>
		<comments>http://futuremix.org/2009/04/oracle-buy-sun#comments</comments>
		<pubDate>Mon, 20 Apr 2009 16:10:03 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[企業・合併・買収]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OOo]]></category>
		<category><![CDATA[SUN]]></category>

		<guid isPermaLink="false">http://futuremix.org/?p=2464</guid>
		<description><![CDATA[
 


  IBM による買収が報道されていましたが、結局は Oracle が SUN を手に入れることになりました。両社は10年ほど前は蜜月の関係でしたが、いまや Oracle は SUN のハードに興味は無いのだと [...]]]></description>
			<content:encoded><![CDATA[<div class="thumb">
 <img src="http://futuremix.org/wp-content/uploads/2009/04/oracle-sun.jpg" alt="oracle-sun" title="oracle-sun" width="225" height="150" class="alignnone size-medium wp-image-2467" />
</div>
<p>
  IBM による買収が報道されていましたが、結局は Oracle が SUN を手に入れることになりました。両社は10年ほど前は蜜月の関係でしたが、いまや Oracle は SUN のハードに興味は無いのだと思っていました。
</p>
<p>
  さて、Oracle にとって SUN を買収するメリットは何でしょうか。Solaris という UNIX OS ももはや魅力ではありません。Windows や Linux でも Oracle が広く使われるようになっているからです。MySQL も以前コアだった部分を Oracle が買収して反感を買っていました。OpenOffice で MS に対抗する? どれも無さそうです。
</p>
<div class="screenshot">
<a href="http://futuremix.org/2009/04/oracle-buy-sun/sun-microsystems_1240245037762" rel="attachment wp-att-2469"><img src="http://futuremix.org/wp-content/uploads/2009/04/sun-microsystems_1240245037762-500x258.png" alt="Oracle による買収を発表した Sun のサイト" title="Oracle による買収を発表した Sun のサイト" width="500" height="258" class="alignnone size-medium wp-image-2469" /></a>
</div>
<p>
 それとも Java でしょうか。Oracle はアプリケーションサーバも手がけていますから、Java の主導権を握ることは理にかなっていると言えそうです。おそらく IBM に SUN を買われるよりも、手に入れたほうが（生殺しになったとしても）IBM の影響力をそぐという意味では正しいと判断したのでしょう。
</p>
<p>
  ハードウェアの部分に Oracle が本気で取り組むとは思えないのですが、うまくいかなければ HP や富士通に売却するのではないかと思います。
</p>
<p>
  それにしても、Oracle に買収されたあとの Java、OOo、MySQL、Glassfish の未来は暗いですね。特に MySQL。まだ IBM の方がよかったですね。IBM は Microsoft に対抗するために Java も OOo も強化したかったはずですからね。</p>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2009/04/oracle-buy-sun/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>IBM が SUN の買収交渉の報道</title>
		<link>http://futuremix.org/2009/03/ibm-sun</link>
		<comments>http://futuremix.org/2009/03/ibm-sun#comments</comments>
		<pubDate>Wed, 18 Mar 2009 13:00:08 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[その他]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Fujitsu]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[SUN]]></category>

		<guid isPermaLink="false">http://futuremix.org/?p=2429</guid>
		<description><![CDATA[
  


  「IBMがSun買収に向けて交渉」の報道というニュースが駆け巡っています。サーバ市場は飽和状態ですが、以前から再編対象と言われていた SUN を IBM が買収すれば、IBM はシェア上は HP に対して [...]]]></description>
			<content:encoded><![CDATA[<div class="thumb">
  <img src="http://futuremix.org/wp-content/uploads/2009/03/sun-ibm.jpg" alt="" title="" width="202" height="196" class="alignnone size-full wp-image-2430" />
</div>
<p>
  <a href="http://www.itmedia.co.jp/news/articles/0903/18/news088.html" title="「IBMがSun買収に向けて交渉」の報道 - ITmedia News">「IBMがSun買収に向けて交渉」の報道</a>というニュースが駆け巡っています。サーバ市場は飽和状態ですが、以前から再編対象と言われていた SUN を IBM が買収すれば、IBM はシェア上は HP に対してかなりの差をつけることになりそうです。
</p>
<p>
  SUN の Solaris 機は、CPU とサーバを富士通が開発・製造していたと思います。両社の提携が発表されたときは、SUN は近い将来富士通に買収されるのではないかと思っていましたが、そのような組み合わせは実現しませんでしたね。
</p>
<p>
  気になるのは SUN が昨年買収した MySQL の位置づけです。IBM は DB2 という RDBMS を持っていますが、JAVA DB の cloudscape を Apache に寄贈するなど、オープンソースに理解が深そうです。MySQL コミュニティの人たちには朗報なのかもしれません。SUN は Cobalt や iPlanet (Netscape のサーバ部分) など買収した資産を活かせない風潮があると思いますので、IBM に飲み込まれてくれた方がいいですよね。
</p>
<p>
  一方で<a href="http://it.nikkei.co.jp/business/news/index.aspx?n=RSCRT3438%2016032009" title="シスコとHP、サーバー市場で直接対決へ【WSJ】 ビジネス-最新ニュース:IT-PLUS">シスコがブレードサーバ市場に参入</a>というニュースもありました。サーバ分野の合従連衡にはまだまだ目が離せませんが、サーバの保守が打ち切られたり、互換性のないブレードサーバが乱立するのは避けて欲しいところですね。
</p>
<p>
  まあ、IBM としてはサーバのハードよりも、Java が欲しいのかもしれません。Java のオープンソース化を一番熱望していたのは IBM ですからね。</p>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2009/03/ibm-sun/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun が MySQL を買収へ</title>
		<link>http://futuremix.org/2008/01/sun-mysql</link>
		<comments>http://futuremix.org/2008/01/sun-mysql#comments</comments>
		<pubDate>Wed, 16 Jan 2008 23:21:28 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[データベース]]></category>
		<category><![CDATA[企業・合併・買収]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[SUN]]></category>

		<guid isPermaLink="false">http://futuremix.org/2008/01/sun-mysql</guid>
		<description><![CDATA[
  ITmediaの記事から。Sun Microsystems が MySQL を買収するとのこと。MySQL は IPO の噂もありましたが、Sun に買収されました。


  買収したのが Oracle でなくてよ [...]]]></description>
			<content:encoded><![CDATA[<p>
  <a href="http://www.itmedia.co.jp/news/articles/0801/17/news005.html">ITmediaの記事</a>から。Sun Microsystems が MySQL を買収するとのこと。MySQL は <abbr title="Initial Public Offering">IPO</abbr> の噂もありましたが、Sun に買収されました。
</p>
<p>
  買収したのが Oracle でなくてよかったと思いますが、Sun は過去に Cobalt を買収して失敗したりしているので、今回もそのようなことにならないか心配です。あと MySQL には Intel、SAP、Red Hat などが投資していましたが、今後の関係がどうなるのか興味深いところ。
</p>
<p>
  また「Sun」という色が付くことで嫌がる <abbr title="Open Source Software">OSS</abbr> 支持者が、PostgreSQL や Firebird に流れることも予想されますね。LAMP から LAPP への流れが加速するかもしれません。</p>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2008/01/sun-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL : InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes</title>
		<link>http://futuremix.org/2007/09/mysql-innodb-logfile-size</link>
		<comments>http://futuremix.org/2007/09/mysql-innodb-logfile-size#comments</comments>
		<pubDate>Sat, 15 Sep 2007 14:46:51 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[データベース]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://futuremix.org/2007/09/mysql-innodb-logfile-size</guid>
		<description><![CDATA[
  いままで MySQL は何のチューニングもしなかったのでいろいろいじっていたら MySQL が起動しなくなりました。エラーログ (/var/log/mysql.log )を見ると次のようなエラーが


InnoDB [...]]]></description>
			<content:encoded><![CDATA[<p>
  いままで MySQL は何のチューニングもしなかったのでいろいろいじっていたら MySQL が起動しなくなりました。エラーログ (/var/log/mysql.log )を見ると次のようなエラーが
</p>
<pre class="log">
InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 33554432 bytes!
[ERROR] Can't init databases
[ERROR] Aborting
</pre>
<p>
  InnoDB のログファイルのデフォルトは 5M ですが、これを 32M ほどに設定し直したところ、ファイルサイズが設定と違うという理由でエラーとなっているようです。自動的に再作成はしてくれないようですので、ログファイルを削除してから MySQL を起動すれば大丈夫でした。</p>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2007/09/mysql-innodb-logfile-size/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL メモリ食いつぶし</title>
		<link>http://futuremix.org/2007/09/mysql-2</link>
		<comments>http://futuremix.org/2007/09/mysql-2#comments</comments>
		<pubDate>Sat, 15 Sep 2007 13:29:43 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[データベース]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://futuremix.org/2007/09/mysql-2</guid>
		<description><![CDATA[
  水曜日・本日と、MySQL がメモリを食いつぶして当サイトへのアクセスができない状態に陥りました。アクセスされた方には閲覧できずご迷惑をお掛けしました。


  対処しようにもコンソールからもなかなかログインできず [...]]]></description>
			<content:encoded><![CDATA[<p>
  水曜日・本日と、MySQL がメモリを食いつぶして当サイトへのアクセスができない状態に陥りました。アクセスされた方には閲覧できずご迷惑をお掛けしました。
</p>
<p>
  対処しようにもコンソールからもなかなかログインできず、手こずりました。top 込まんとでは mysql が仮想メモリの 80% 以上を使っていたので間違いなく MySQL が何らかの理由で仮想メモリを食いつぶしたのだと思います。スワップしまくりでした。
</p>
<p>
  mysqld を停止して（Timeout で失敗しましたが）、swapoff -a としてスワップ領域も開放しました。</p>
<p>
  原因は調査中なのですが特に DoS ということはなさそうなので、先頃リリースされた MySQL のアップデート版 RPM をインストールしたせいではないかと考えています。が、どこかのスパムボットによる絨毯爆撃の可能性も考えられるため、とりあえず Apache のパラメータをいじって同時接続数を減らしたりはしてみました。単にメモリ不足なのかもしれませんが。どうなることやら。</p>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2007/09/mysql-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL で You can&#8217;t specify target table ～ for update in FROM clause エラー</title>
		<link>http://futuremix.org/2007/08/mysql-update-with-subquery</link>
		<comments>http://futuremix.org/2007/08/mysql-update-with-subquery#comments</comments>
		<pubDate>Sat, 18 Aug 2007 22:00:51 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[データベース]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://futuremix.org/2007/08/mysql-update-with-subquery</guid>
		<description><![CDATA[
  MySQL で Update 文の中でサブクエリを使うと、You can&#8217;t specify target table ～ for update in FROM clause というエラーメッセージが出 [...]]]></description>
			<content:encoded><![CDATA[<p>
  MySQL で Update 文の中でサブクエリを使うと、<em>You can&#8217;t specify target table ～ for update in FROM clause</em> というエラーメッセージが出ることがあります。サブクエリの中で更新するテーブルを読んでいるような場合に発生します。たとえば
</p>
<pre class="command">
  update temp_table set num = (select max(num) +1 from temp_table) where num=1;
  <samp>ERROR 1093 (HY000): You can't specify target table 'temp_table' for update in FROM clause</samp>
</pre>
<p>
  PostgreSQL や Oracle ではこのようなエラーは起きずに更新が完了します。対処方法としてはテンポラリテーブルを使うか MySQL をやめること。テンポラリテーブルも同一クエリ内では2回以上使えなかったりと制限があります。
</p>
<p>
  MySQL はちょっと凝ったことをしようとすると途端にできなくなるので、本当に困ります。</p>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2007/08/mysql-update-with-subquery/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress から WordPress にインポート後にアップロードした画像が表示されない</title>
		<link>http://futuremix.org/2007/08/wordpress-upload-images-missing</link>
		<comments>http://futuremix.org/2007/08/wordpress-upload-images-missing#comments</comments>
		<pubDate>Fri, 17 Aug 2007 22:00:06 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://futuremix.org/2007/08/wordpress-upload-images-missing</guid>
		<description><![CDATA[
  WordPress からエクスポートし、別の WordPress のブログにインポートしたところ、アップロードした画像がすべて表示されなくなりました。もちろん画像もサーバ上にコピーしてあります。管理画面の「アップロ [...]]]></description>
			<content:encoded><![CDATA[<p>
  WordPress からエクスポートし、別の WordPress のブログにインポートしたところ、アップロードした画像がすべて表示されなくなりました。もちろん画像もサーバ上にコピーしてあります。管理画面の「アップロード」を見てもタイトルだけが表示され、サムネイルが表示されていません。
</p>
<div class="screenshot">
<a href='http://futuremix.org/2007/08/wordpress-upload-images-missing/wordpress-%e3%81%ab%e3%82%a4%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%88%e3%81%97%e3%81%9f%e7%94%bb%e5%83%8f%e3%81%8c%e8%a1%a8%e7%a4%ba%e3%81%95%e3%82%8c%e3%81%aa%e3%81%84/' rel='attachment wp-att-1119' title='WordPress にインポートした画像が表示されない'><img src='http://futuremix.org/wp-content/uploads/2007/08/wordpress-upload-images-missing.thumbnail.png' alt='WordPress にインポートした画像が表示されない' /></a>
</div>
<p>それぞれの内容を確認すると、URL が http://example.org/?attachment_id=1116 のようなおかしな状態になっています。</p>
<div class="screenshot">
<a href='http://futuremix.org/2007/08/wordpress-upload-images-missing/%e3%82%a2%e3%83%83%e3%83%97%e3%83%ad%e3%83%bc%e3%83%89%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e5%86%85%e5%ae%b9%e3%82%92%e7%a2%ba%e8%aa%8d/' rel='attachment wp-att-1120' title='アップロードファイルの内容を確認'><img src='http://futuremix.org/wp-content/uploads/2007/08/wordpress-upload-file-url.thumbnail.png' alt='アップロードファイルの内容を確認' /></a>
</div>
<p>
  この URL を修正すれば良さそうですが、管理画面からは URL は変更できません。もしかしたらプラグインで編集できるものもあるかもしれませんが、今回は MySQL のコンソールから作業しました。もちろん phpMyAdmin からでも修正可能だと思いますが、私は試していません。
</p>
<p>
  そもそもアップロードした画像の情報がどこに格納されているかというと、それぞれの記事やページと同じように wp_posts (wp_ の接頭辞は環境により異なっている場合があります) テーブルに格納されています。ここが WordPress の特徴です。このテーブルの guid というカラムに、先ほどの URL が格納されています。ためしに正常に表示される画像と比べてみると、
</p>
<pre class="command">
mysql&gt; select guid, post_mime_type from wp_posts where id=1116 or id=1024;
<samp>+&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-+-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;+
| guid                                                       | post_mime_type |
+&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-+-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;+
| http://example.org/wp-content/uploads/2007/08/sapari.jpg | image/jpeg     |
| http://example.org/?attachment_id=1116                   |                |
+&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-+-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;+</samp>
</pre>
<p>
  post_mime_type の値が空になっているのでこれを修正する必要がありそうです。また guid　の URL の形式がまるで異なるのがわかります。この URL を修正すればよいのですが、画像の内部バスが wp_postmeta テーブルに格納されているのでそれを利用します。
</p>
<pre class="command">
mysql&gt; select meta_value from wp_postmeta where post_id=1116 and meta_key='_wp_attached_file';
<samp>+&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-+
| meta_value                                                 |
+&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-+
| /old/site/path/wp-content/uploads/2007/07/search-regex.png |
+&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-&#45;-+</samp>
</pre>
<p>
  しかし、wp_postmeta テーブルには、インポート前のサーバ上の内部パスが格納されていました。まずこれを修正します。
</p>
<pre class="command">
mysql&gt; update wp_postmeta set meta_value=replace(meta_value, '/old/site/path/', '/new/hoge/path') where meta_key='_wp_attached_file' and meta_value like '/old/site/path/%';
</pre>
<p>
  次にこのデータを利用して、wp_posts を更新しますが、こちらは SQL 一発というわけにはいきません。個別に ID と mime_type を確認・指定しながら SQL を実行します。一気にやる方法は MySQL にはカーソルをループで回して……のようなことをやる術がないので、おそらくできないと思います。あれば教えてください。こういうときに Oracle や PostgreSQL と MySQL の差が出てしまいますね。
</p>
<pre class="command">
mysql&gt; update wp_posts set
    -&gt; guid = (select replace(meta_value, '/new/hoge/path/', 'http://example.org/')
    -&gt;  from wp_postmeta where post_id=1116 and meta_key='_wp_attached_file'),
    -&gt;  post_mime_type='image/png' , where id = 1116;
<samp>Query OK, 1 row affected (0.02 sec)
Rows matched: 1  Changed: 1  Warnings: 0</samp>
</pre>
<p>
  もちろん post_mime_type には画像が JPEG のときは image/jpeg を、PNG のときは image/png を指定します。これで、アップロードしたファイルを確認してみると、
</p>
<div class="screenshot">
<a href='http://futuremix.org/2007/08/wordpress-upload-images-missing/%e4%bf%ae%e6%ad%a3%e3%81%95%e3%82%8c%e3%81%a6%e3%82%b5%e3%83%a0%e3%83%8d%e3%82%a4%e3%83%ab%e3%81%8c%e8%a1%a8%e7%a4%ba%e3%81%95%e3%82%8c%e3%81%9f%e3%81%a8%e3%81%93%e3%82%8d/' rel='attachment wp-att-1121' title='修正されてサムネイルが表示されたところ'><img src='http://futuremix.org/wp-content/uploads/2007/08/wordpress-upload-file-fixed.thumbnail.png' alt='修正されてサムネイルが表示されたところ' /></a>
</div>
<p>
  これを繰り返していき、すべての画像が復旧できました。
</p>
<div class="screenshot">
  <a href='http://futuremix.org/2007/08/wordpress-upload-images-missing/%e3%81%99%e3%81%b9%e3%81%a6%e3%81%ae%e3%82%a2%e3%83%83%e3%83%97%e3%83%ad%e3%83%bc%e3%83%89%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e4%bf%ae%e5%be%a9%e3%81%97%e3%81%9f%e3%81%a8%e3%81%93%e3%82%8d/' rel='attachment wp-att-1122' title='すべてのアップロードファイルを修復したところ'><img src='http://futuremix.org/wp-content/uploads/2007/08/wordpress-upload-images-repaired.thumbnail.png' alt='すべてのアップロードファイルを修復したところ' /></a>
</div>
<p>
  この画像が表示されなくなる現象は再現性があるので、WordPress のインポートプログラムのバグだと思います。将来的には改善されると思いますが、同じことでハマって悩んでいる人の助けになれば幸いです。</p>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2007/08/wordpress-upload-images-missing/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySQL メモ</title>
		<link>http://futuremix.org/2007/07/mysql</link>
		<comments>http://futuremix.org/2007/07/mysql#comments</comments>
		<pubDate>Sat, 28 Jul 2007 22:00:27 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[データベース]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://futuremix.org/2007/07/mysql</guid>
		<description><![CDATA[
  MySQL の知っていると便利なコマンドや、PostgreSQL, Oracle との違いのメモです。

データベースの作成
root ユーザで mysql のコンソールに入り、CREATE DATABASE コマ [...]]]></description>
			<content:encoded><![CDATA[<p>
  MySQL の知っていると便利なコマンドや、PostgreSQL, Oracle との違いのメモです。
</p>
<h3>データベースの作成</h3>
<p>root ユーザで mysql のコンソールに入り、CREATE DATABASE コマンドを実行。</p>
<pre class="command">
# mysql -u root
mysql&gt; CREATE DATABASE db_name;
</pre>
<h3>ユーザの作成</h3>
<p>Oracle や PostgreSQL と異なり、CREATE USER 文ではなく GRANT 文で作成する。</p>
<pre class="command">
mysql&gt; GRANT ALL PRIVILEGES ON db_name.* TO user_name@localhost IDENTIFIED BY "*********";
</pre>
<h3>データベースの一覧</h3>
<pre class="command">
mysql&gt; SHOW DATABASES;
</pre>
<h3>データベースの選択</h3>
<p>mysql コンソールに入ってから使うデータベースを指定したり、切り替える場合。</p>
<pre class="command">
mysql&gt; &#x5c;u db_name;
</pre>
<h3>テーブルの一覧</h3>
<pre class="command">
mysql&gt; SHOW TABLES;
</pre>
<h3>テーブルの詳細情報</h3>
<pre class="command">
mysql&gt; DESC table_name;
</pre>
<h3>データベースのダンプ</h3>
<p>データベースの内容をファイルに出力</p>
<pre class="command">
$ mysqldmp -u user_name -p db_name | gzip > db.dump.gz
</pre>
<h3>データベースのリストア</h3>
<pre class="command">
$ zcat db.dump.gz | mysql -u user_name -p db_name
</pre>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2007/07/mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress でコメント・トラックバック受付停止の一括設定方法</title>
		<link>http://futuremix.org/2007/03/trackback-spam-sql</link>
		<comments>http://futuremix.org/2007/03/trackback-spam-sql#comments</comments>
		<pubDate>Sat, 31 Mar 2007 08:45:00 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[データベース]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://futuremix.org/2007/03/trackback-spam-sql</guid>
		<description><![CDATA[
  WordPress ではトラックバック（ピンバック）を受け付けないように設定することができますが、オプション設定画面の「ディスカッション設定」で「他のウェブログからのリンク通知を許可する (ピンバックとトラックバッ [...]]]></description>
			<content:encoded><![CDATA[<p>
  WordPress ではトラックバック（ピンバック）を受け付けないように設定することができますが、オプション設定画面の「ディスカッション設定」で「他のウェブログからのリンク通知を許可する (ピンバックとトラックバック)」のチェックを外しても、これまでに投稿した記事はトラックバックを受け付けた状態のままです。
</p>
<p>これは各記事の「ピンを許可」のチェックの方が優先されるためですので、既存の記事へのトラックバックを拒否したいのであれば、過去の記事の「ピンを許可」のチェックを外す必要があります。記事数が多い場合はいちいち設定できませんので、MySQL にログインして、SQL で一括変換するのが良いと思います。</p>
<pre class="code">
mysql&gt; UPDATE wp_posts SET ping_status='closed';
<samp>Query OK, 52 rows affected (0.00 sec)
Rows matched: 50  Changed: 50  Warnings: 0</samp>

mysql&gt; SELECT COUNT(ping_status), ping_status FROM wp_posts GROUP BY ping_status;
<samp>+&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;+&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;+
| count(ping_status) | ping_status |
+&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;+&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;+
|                 50 | closed      |
+&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;+&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;&#45;+
1 row in set (0.00 sec)</samp>
</pre>
<p>元に戻すときは &#8216;closed&#8217; の代わりに &#8216;open&#8217; を指定します。コメントの場合は ping_status のところを comment_status にしましょう。コミットも忘れずに。</p>
<pre class="code">
mysql&gt; UPDATE wp_posts SET comment_status='closed';
</pre>
<p>別の方法もあるかもしれませんが、SQL を使える人ならばこういう方法を知っておけば色々応用が利くと思います。</p>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2007/03/trackback-spam-sql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora Legacy Watch : OpenSSH, ImageMagick, Samba, MySQL, PostgreSQL などアップデートがリリース</title>
		<link>http://futuremix.org/2005/08/fedora-legacy-samba-mysql</link>
		<comments>http://futuremix.org/2005/08/fedora-legacy-samba-mysql#comments</comments>
		<pubDate>Tue, 02 Aug 2005 12:33:48 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[FedoraLegacy]]></category>
		<category><![CDATA[GD]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Samba]]></category>

		<guid isPermaLink="false">http://futuremix.org/2005/08/fedora-legacy-samba-mysql</guid>
		<description><![CDATA[
  この記事は以前 &#8220;Fedora Lagacy Watch&#8221; で公開していたものです。古い内容ですのでご注意下さい。

最近、書く時間がほとんど取れず、情報が遅れてしまい申し訳ありません。
7 [...]]]></description>
			<content:encoded><![CDATA[<p>
 <em> この記事は以前 &#8220;Fedora Lagacy Watch&#8221; で公開していたものです。古い内容ですのでご注意下さい。</em>
</p>
<p>最近、書く時間がほとんど取れず、情報が遅れてしまい申し訳ありません。</p>
<p>7月中旬にどさっとパッケージが公開されました。大物パッケージも多いです。前回書いてないものを挙げると……</p>
<ul>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-11-FLSA_2005_123014__Updated_openssh_packages_fix_a_security_issue.html">OpenSSH</a> CAN-2004-0175</li>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-11-FLSA_2005_152583__Updated_telnet_packages_fix_security_issues.html">Telnet</a> CAN-2005-0468 CAN-2005-0469</li>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-12-FLSA_2005_152777__Updated_ImageMagick_packages_fix_security_issues.html">ImageMagick</a> CAN-2003-0455 CAN-2004-0827 CAN-2004-0981 CAN-2005-0005 CAN-2005-0397 CAN-2005-0759 CAN-2005-0760 CAN-2005-0761 CAN-2005-0762 CAN-2005-1275 CAN-2005-1739</li>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-15-FLSA_2005_152769__Updated_kdelibs_kdebase_packages_fix_security_issues.html">kdelibs kdebase</a> CAN-2003-0592 CAN-2004-0411 CAN-2004-0689 CAN-2004-0721 CAN-2004-0746 CAN-2004-1158 CAN-2004-1165</li>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-15-FLSA_2005_152838__Updated_gd_packages_fix_security_issues.html">gd</a> CAN-2004-0941 CAN-2004-0990</li>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-15-FLSA_2005_152841__Updated_openssl_packages_fix_security_issues.html">OpenSSL</a> CAN-2004-0975</li>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-15-FLSA_2005_152874__Updated_samba_packages_fix_security_issues.html">Samba</a> CAN-2004-0882 CAN-2004-0930 CAN-2004-1154</li>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-15-FLSA_2005_152891__Updated_cpio_package_fixes_security_issue.html">cpio</a> CAN-1999-1572</li>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-15-FLSA_2005_152917__Updated_curl_packages_fix_a_security_issue.html">cURL</a>  CAN-2005-0490</li>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-15-FLSA_2005_152925__Updated_mysql_packages_fix_security_issues.html">MySQL</a>CAN-2005-0709 CAN-2005-0710 CAN-2005-0711 </li>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-15-FLSA_2005_154272__Updated_gdk_pixbuf_packages_fix_a_security_issue.html">gdk-pixbuf</a>  CAN-2005-0891</li>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-15-FLSA_2005_158149__Updated_mozilla_packages_fix_security_issues.html">Mozilla (Galeon, epiphany, devhelp)</a> CAN-2005-1476 CAN-2005-1477 CAN-2005-1531 CAN-2005-1532</li>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-16-FLSA_2005_152844__Updated_PostgreSQL_packages_fix_security_issues.html">PostgreSQL</a> CAN-2004-0977 CAN-2005-0227 CAN-2005-0244 CAN-2005-0245 CAN-2005-0246 CAN-2005-0247</li>
<li><a href="http://www.fedoralegacy.org/updates/RH9/2005-07-16-FLSA_2005_152900__Updated_squirrelmail_package_fixes_security_issue.html">SquirrelMail</a> CAN-2004-1036 CAN-2005-0075 CAN-2005-0103 CAN-2005-0104</li>
</ul>
<p>
  Mozilla はようやく 1.7.8 になりました。この <a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=160202" target="_blank" title="Bug 160202 &#8211; Mozilla Browsers Frame Injection Vulnerability">1.7.8 にもセキュリティホール</a>が見つかっており、1.7.10 が準備中でしたが、おそらく 1.7.11 になると思います。
</p>
<p>
  また前回リリースされた PHP パッケージの FC1、FC2 用のアップデートがリリースされていますが、FLP サイトにはまだアドバイザリが掲載されていません。<a href="http://download.fedoralegacy.org/fedora/1/updates/i386/?C=M;O=D">直接ダウンロード</a>はできるようになっています。</p>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2005/08/fedora-legacy-samba-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora Legacy Watch : kernel, OOo, MySQL, Mozilla などがテスト入り</title>
		<link>http://futuremix.org/2005/05/fedora-legacy-ooo-mysql</link>
		<comments>http://futuremix.org/2005/05/fedora-legacy-ooo-mysql#comments</comments>
		<pubDate>Sat, 07 May 2005 12:32:02 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[FedoraLegacy]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OOo]]></category>

		<guid isPermaLink="false">http://futuremix.org/2005/05/fedora-legacy-ooo-mysql</guid>
		<description><![CDATA[
  この記事は以前 &#8220;Fedora Lagacy Watch&#8221; で公開していたものです。古い内容ですのでご注意下さい。


  いくつかのパッケージが updates-testing に上がって [...]]]></description>
			<content:encoded><![CDATA[<p>
 <em> この記事は以前 &#8220;Fedora Lagacy Watch&#8221; で公開していたものです。古い内容ですのでご注意下さい。</em>
</p>
<p>
  いくつかのパッケージが updates-testing に上がってきています。しかも kernel, <abbr title="Open Office.org">OOo</abbr>, php, MySQL, Mozilla など大物揃いです。
</p>
<p>
  これらのパッケージがテスト（<abbr title="Quality Assurance">QA</abbr>）されて、問題がなければ公開されます。だれもテストしなければ、いつまで経っても updates-testing ディレクトリに入ったままです。ぜひ協力してください。
</p>
<ul>
<li><a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=152532" title="Bug 152532 - Multiple kernel security problems: CAN-2005-0384, CAN-2005-0400, CAN-2005-0449, CAN-2005-0531(?), CAN-2005-0749, CAN-2005-0750, CAN-2005-0815">kernel</a> RH73、RH9、FC1、FC2 が対象</li>
<li>OpenOffice.org <a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154989" title="Bug 154989 - RH9: CAN-2005-0941: remote heap overflow vulnerability (bad .doc file can exec arbitrary code)">RH9</a>、<a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154988" title="Bug 154988 - FC1: CAN-2005-0941: remote heap overflow vulnerability (bad .doc file can exec arbitrary code)">FC1</a>、<a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154742" title="Bug 154742 - CAN-2005-0941: remote heap overflow vulnerability (bad .doc file can exec arbitrary code)">FC2</a> が対象</li>
<li><a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=152916" title="Bug 152916 - CAN-2005-0208,0472,0473,0965,0966,0967 gaim security issues">gaim</a>  RH73、RH9、FC1 が対象</li>
<li><a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155505" title="Bug 155505 - php CAN-2005-0524,0525,1042,1043 vulnerabilities">php</a> RH73、RH9、FC1、FC2 が対象</a>
<li><a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154991" title="Bug 154991 - sharutils CAN-2005-0990 unsecure temp file usage">sharutils</a> RH73、RH9、FC1、FC2 が対象</li>
<li><a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=152925" title="Bug 152925 - MySQL CAN-2005-0709, -0710, -0711 Remote Vulnerabilities">mysql</a> RH73、RH9、FC1が対象</li>
<li><a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155508" title="Bug 155508 - CAN-2005-0753 multiple issues in cvs">cvs</a> RH73、RH9、FC1、FC2 が対象</li>
<li><a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=152908" title="Bug 152908 - gftp: Directory traversal vulnerability (CAN-2005-0372)">gftp</a> RH73、RH9、FC1 が対象</li>
<li><a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=152842" title="Bug 152842 - CAN-2004-0972 LVM "lvmcreate_initrd" Script Insecure Temporary File Creation">lvm</a> RH73、RH9、FC1 が対象</li>
<li><a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=152883" title="Bug 152883 - Multiple Mozilla vulnerabilities">mozilla、galeon、epiphany、devhelp</a> RH73、RH9、FC1、FC2 が対象</li>
</ul>
<p>
  特に mozilla は Fedora Legacy ではなかなかリリースされなかったパッケージです。当初は 1.4.x 系列でパッチを作成していましたが、すでに本家 Mozilla の安定版が 1.7 系列に移行してたため、パッチのバックポートに時間がかかっていました。その上、次々と脆弱性が発見されて、リリースが先延ばしになっていました。結局、すべての OS で 1.7.7 をパッケージしてリリースすることになったようです。
</p>
<p>
  update-testing のパッケージは、<a href="http://download.fedoralegacy.org/">Fedora Legacy Repository</a>から入手できます。ミラーサイトにはまだ行き渡っていないパッケージもあるようです。</p>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2005/05/fedora-legacy-ooo-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora Legacy Watch : MySQL, sharutils, SpamAssassin アップデートリリース</title>
		<link>http://futuremix.org/2005/03/fedora-legacy-mysql-spamassassin</link>
		<comments>http://futuremix.org/2005/03/fedora-legacy-mysql-spamassassin#comments</comments>
		<pubDate>Fri, 25 Mar 2005 08:30:18 +0000</pubDate>
		<dc:creator>津田 ふみか</dc:creator>
				<category><![CDATA[FedoraLegacy]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[SpamAssassin]]></category>

		<guid isPermaLink="false">http://futuremix.org/2005/03/fedora-legacy-mysql-spamassassin</guid>
		<description><![CDATA[
  この記事は以前 &#8220;Fedora Lagacy Watch&#8221; で公開していたものです。古い内容ですのでご注意下さい。


  MySQL,  sharutils,  SpamAssassin  [...]]]></description>
			<content:encoded><![CDATA[<p>
 <em> この記事は以前 &#8220;Fedora Lagacy Watch&#8221; で公開していたものです。古い内容ですのでご注意下さい。</em>
</p>
<p>
  <a href="http://www.fedoralegacy.org/updates/RH9/2005-03-24-FLSA_2005_2129__Updated_mysql_packages_fix_security_issues.html">MySQL</a>,  <a href="http://www.fedoralegacy.org/updates/RH9/2005-03-24-FLSA_2005_2155__Updated_sharutils_package_fixes_security_issues.html">sharutils</a>,  <a href="http://www.fedoralegacy.org/updates/FC1/2005-03-24-FLSA_2005_2268__Updated_spamassassin_package_fixes_security_issues.html">SpamAssassin</a>  の各パッケージに対するアップデートがリリースされています。今回は詳細は割愛しますので、リンク先の文書で確認してください。</p>
]]></content:encoded>
			<wfw:commentRss>http://futuremix.org/2005/03/fedora-legacy-mysql-spamassassin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
