<?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>Fri, 13 Jan 2012 23:57:25 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>XREAで複数のデータベースを管理する</title>
		<link>http://www.dxcode.com/archives/2007/10148.html</link>
		<comments>http://www.dxcode.com/archives/2007/10148.html#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の管理画面からphpMyAdminをインス [...]]]></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>
<pre>
/*
 * 1つめのデータベース
 */
$i++;
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['user']          = 'ユーザ名';
$cfg['Servers'][$i]['password']      = 'パスワード';
$cfg['Servers'][$i]['only_db']       = 'データベース名';

/*
 * 2つめのデータベース
 */
$i++;
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['user']          = 'ユーザ名';
$cfg['Servers'][$i]['password']      = 'パスワード';
$cfg['Servers'][$i]['only_db']       = 'データベース名';</pre>
<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.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

