<?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>Alin &#38; Husi `s Blog &#187; phpmyadmin</title>
	<atom:link href="http://alinhusi.com/tag/phpmyadmin/feed" rel="self" type="application/rss+xml" />
	<link>http://alinhusi.com</link>
	<description>在浩瀚的互联网中，这里是属于我们的！欢迎来到Alin和Husi的博客...</description>
	<lastBuildDate>Wed, 25 Aug 2010 11:18:46 +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>phpMyAdmin 安装攻略</title>
		<link>http://alinhusi.com/study/41.html</link>
		<comments>http://alinhusi.com/study/41.html#comments</comments>
		<pubDate>Wed, 02 Jun 2010 03:16:44 +0000</pubDate>
		<dc:creator>alin</dc:creator>
				<category><![CDATA[学习笔记]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://alinhusi.com/?p=41</guid>
		<description><![CDATA[1、先下载 phpMyAdmin 安装包
2、解压后一个单独目录中（你可以自定义目录名称）
3、找到 /libraries/config.default.php文件(旧版本是根目录下的config.inc.php文件)，用写字板（不要用记事本，这是UTF8编码）进行编辑。
4、查找
1$cfg&#91;'PmaAbsoluteUri'&#93;
修改为你将上传到空间的phpMyAdmin的网址
如：
1$cfg&#91;'PmaAbsoluteUri'&#93; = 'http://网站域名/phpmyadmin/';
5、查找
1$cfg&#91;'Servers'&#93;&#91;$i&#93;&#91;'host'&#93; = 'localhost';
（通常用默认，也有例外，可以不用修改）
6、查找
1$cfg&#91;'Servers'&#93;&#91;$i&#93;&#91;'auth_type'&#93; = 'config';
在自己的机子里调试用config；如果在网络上的空间用cookie，这里我们既然在前面已经添加了网址，就修改成cookie ，这里建议使用cookie.
7、查找
1$cfg&#91;'Servers'&#93;&#91;$i&#93;&#91;'user'&#93; = 'root'; // MySQL user
（ 用户名,一般这里随便填几个字母就可以了; 特殊情况下，自己机里用root,在网上一般为你的ftp用户名,虚拟主机提供商会告诉你的,一般不要修改.）
8、查找
1$cfg&#91;'Servers'&#93;&#91;$i&#93;&#91;'password'&#93; = ''; // MySQL password
(only needed 留空就可以了)
9、查找
1$cfg&#91;'Servers'&#93;&#91;$i&#93;&#91;'only_db'&#93; = ''; // If set to a db-name, only
（你只有一个数据就设置一下,设置为你的数据库名；如果你想架设服务器，那么建议留空）
10、查找
1$cfg&#91;'DefaultLang'&#93; = 'zh';
（这里是选择语言，zh代表简体中文的意思）
11、查找
1$cfg&#91;'blowfish_secret'&#93;,请在$cfg&#91;'blowfish_secret'&#93; = '';
的等号里面设置你网站的cookie(cookie也就是访问phpmyadmin的域名)，例如：$cfg['blowfish_secret'] = ‘www.xinnethz.net’;。
12、设置完毕后保存，现在可以上传到网络空间上了， 浏览http://网站域名/phpmyadmin/测试一下。
]]></description>
			<content:encoded><![CDATA[<p>1、先下载 phpMyAdmin 安装包<br />
2、解压后一个单独目录中（你可以自定义目录名称）</p>
<p>3、找到 /libraries/config.default.php文件(旧版本是根目录下的config.inc.php文件)，用写字板（不要用记事本，这是UTF8编码）进行编辑。</p>
<p>4、查找</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$cfg</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'PmaAbsoluteUri'</span><span style="color: #009900;">&#93;</span></div></td></tr></tbody></table></div>
<p>修改为你将上传到空间的phpMyAdmin的网址<br />
如：</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$cfg</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'PmaAbsoluteUri'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://网站域名/phpmyadmin/'</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>5、查找</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$cfg</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Servers'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'host'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'localhost'</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>（通常用默认，也有例外，可以不用修改）</p>
<p>6、查找</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$cfg</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Servers'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'auth_type'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'config'</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>在自己的机子里调试用config；如果在网络上的空间用cookie，这里我们既然在前面已经添加了网址，就修改成cookie ，这里建议使用cookie.</p>
<p>7、查找</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$cfg</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Servers'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'user'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'root'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// MySQL user</span></div></td></tr></tbody></table></div>
<p>（ 用户名,一般这里随便填几个字母就可以了; 特殊情况下，自己机里用root,在网上一般为你的ftp用户名,虚拟主机提供商会告诉你的,一般不要修改.）</p>
<p>8、查找</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$cfg</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Servers'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'password'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// MySQL password</span></div></td></tr></tbody></table></div>
<p>(only needed 留空就可以了)</p>
<p>9、查找</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$cfg</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Servers'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'only_db'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// If set to a db-name, only</span></div></td></tr></tbody></table></div>
<p>（你只有一个数据就设置一下,设置为你的数据库名；如果你想架设服务器，那么建议留空）</p>
<p>10、查找</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$cfg</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'DefaultLang'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'zh'</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>（这里是选择语言，zh代表简体中文的意思）</p>
<p>11、查找</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$cfg</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'blowfish_secret'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>请在<span style="color: #000088;">$cfg</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'blowfish_secret'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>的等号里面设置你网站的cookie(cookie也就是访问phpmyadmin的域名)，例如：$cfg['blowfish_secret'] = ‘www.xinnethz.net’;。</p>
<p>12、设置完毕后保存，现在可以上传到网络空间上了， 浏览http://网站域名/phpmyadmin/测试一下。</p>
]]></content:encoded>
			<wfw:commentRss>http://alinhusi.com/study/41.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
