欢迎来到日本小春精选,了解日本先从@日本生活基础课程开始!
欢迎 欢迎     登录 | 注册      消息
当前位置: 首页小组技术交流Centos安装phpMyAdmin

[Linux]Centos安装phpMyAdmin

<p style="color: rgb(51, 51, 51); font-family: Arial; font-size: 14px; line-height: 26px; text-align: left; ">进入<a href="http://www.phpmyadmin.net/" target="_blank" style="color: rgb(51, 102, 153); text-decoration: none; ">phpMyAdmin</a>官方下载最新版本后,上传到你的网站目录下,然后进行配置。只需几步即可搞定。<br />a. config.sample.inc.php更名为config.inc.php;<br />b. 打开config.inc.php文件,进行以下修改;<br />// $cfg['Servers'][$i]['controluser'] = ‘pma’;<br />// $cfg['Servers'][$i]['controlpass'] = ‘pmapass’;<br />// $cfg['Servers'][$i]['pmadb'] = ‘phpmyadmin’;<br />// $cfg['Servers'][$i]['bookmarktable'] = ‘pma_bookmark’;<br />// $cfg['Servers'][$i]['relation'] = ‘pma_relation’;<br />// $cfg['Servers'][$i]['table_info'] = ‘pma_table_info’;<br />// $cfg['Servers'][$i]['table_coords'] = ‘pma_table_coords’;<br />// $cfg['Servers'][$i]['pdf_pages'] = ‘pma_pdf_pages’;<br />// $cfg['Servers'][$i]['column_info'] = ‘pma_column_info’;<br />// $cfg['Servers'][$i]['history'] = ‘pma_history’;<br />// $cfg['Servers'][$i]['designer_coords'] = ‘pma_designer_coords’;</p><p style="color: rgb(51, 51, 51); font-family: Arial; font-size: 14px; line-height: 26px; text-align: left; ">去掉每行前面的//;<br />c.$cfg['blowfish_secret'] = ”;&nbsp;|修改为|&nbsp; $cfg['blowfish_secret'] = ‘http’;<br />d.$cfg['Servers'][$i]['controluser'] = ‘pma’;&nbsp;|把’pma’修改为你的帐号|<br />e.$cfg['Servers'][$i]['controlpass'] = ‘pmapass’;&nbsp; |把’pmapass设置为你的mysql登录密码|<br />f.&nbsp;$cfg['blowfish_secret'] = ”;&nbsp;| 添加短语密码例如:$cfg['blowfish_secret'] = ‘onohot’|</p>
2012-04-06 16:06:00 来自:球球
用户评论(0)
正序阅读
你的回应
登录 | 注册