<?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>おじさんの備忘録-番外編- &#187; データベース</title>
	<atom:link href="http://www.dxcode.com/archives/tag/%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dxcode.com</link>
	<description>個人的なメモ書き</description>
	<lastBuildDate>Sat, 06 Mar 2010 14:28:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>XREAで複数のデータベースを管理する</title>
		<link>http://www.dxcode.com/archives/2007/10148.php</link>
		<comments>http://www.dxcode.com/archives/2007/10148.php#comments</comments>
		<pubDate>Sat, 13 Oct 2007 20:10:21 +0000</pubDate>
		<dc:creator>kecha</dc:creator>
				<category><![CDATA[Xrea]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[データベース]]></category>

		<guid isPermaLink="false">http://www.dxcode.com/archives/2007/111839.php</guid>
		<description><![CDATA[				データベース管理ツール phpMyAdmin で複数のデータベースを管理するにはconfig.inc.phpを修正することにより実現可能。
				config.inc.phpはXREAの管理画面からphpMyA [...]]]></description>
			<content:encoded><![CDATA[				<p>データベース管理ツール <a href="http://www.phpmyadmin.net/home_page/index.php" title="phpMyAdmin | MySQL Database Administration Tool | www.phpmyadmin.net">phpMyAdmin</a> で複数のデータベースを管理するにはconfig.inc.phpを修正することにより実現可能。</p>
				<p>config.inc.phpは<a href="http://www.xrea.com/" title="-Free Web Hosting-">XREA</a>の管理画面からphpMyAdminをインストールするとpublic_html/log/phpmyadminにインストールされるのでそのディレクトリ内にある。<br />
				FTPでダウンロードし修正したものを上書きアップロードするだけでOK。</p>
				<p>[php gutter=false]<br />
				/*<br />
				 * 1つめのデータベース<br />
				 */<br />
				$i++;<br />
				$cfg['Servers'][$i]['auth_type'] = &#8216;config&#8217;;<br />
				$cfg['Servers'][$i]['host'] = &#8216;localhost&#8217;;<br />
				$cfg['Servers'][$i]['connect_type'] = &#8216;tcp&#8217;;<br />
				$cfg['Servers'][$i]['compress'] = false;<br />
				$cfg['Servers'][$i]['extension'] = &#8216;mysql&#8217;;<br />
				$cfg['Servers'][$i]['user']          = &#8216;ユーザ名&#8217;;<br />
				$cfg['Servers'][$i]['password']      = &#8216;パスワード&#8217;;<br />
				$cfg['Servers'][$i]['only_db']       = &#8216;データベース名&#8217;;</p>
				<p>/*<br />
				 * 2つめのデータベース<br />
				 */<br />
				$i++;<br />
				$cfg['Servers'][$i]['auth_type'] = &#8216;config&#8217;;<br />
				$cfg['Servers'][$i]['host'] = &#8216;localhost&#8217;;<br />
				$cfg['Servers'][$i]['connect_type'] = &#8216;tcp&#8217;;<br />
				$cfg['Servers'][$i]['compress'] = false;<br />
				$cfg['Servers'][$i]['extension'] = &#8216;mysql&#8217;;<br />
				$cfg['Servers'][$i]['user']          = &#8216;ユーザ名&#8217;;<br />
				$cfg['Servers'][$i]['password']      = &#8216;パスワード&#8217;;<br />
				$cfg['Servers'][$i]['only_db']       = &#8216;データベース名&#8217;;[/php]</p>
				<p>上記の２つめのデータベース以降をコピーして下にペーストしていくだけで、下記のようにphpMyAdminのトップページ右上にデータベースを選択するプルダウンメニューが出現する。</p>
				<p><img src="http://www.dxcode.com/wp-content/uploads/2009/03/xrea_phpmyadmin.gif" alt="phpMyAdminにプルダウンメニュー" width="352" height="242" class="attachment wp-att-552 " /></p>
				<p>参考記事 >> <a href="http://wordpress.xwd.jp/euc_to_utf/pma.php" title="phpMyAdminのインストール">WordPress Japan &#8211; phpMyAdminのインストール</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dxcode.com/archives/2007/10148.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
