刚刚 phpMyAdmin 3.2.2.1 安装配置成功

过程记录如下

安装前的环境

MySQL

Server: MySQL host info: localhost via TCP/IP
Server version: 5.1.39-community
Protocol version: 10
User: root@localhost
MySQL charset: UTF-8 Unicode (utf8)

Web server

Apache/2.2.14 (Win32) PHP/5.3.0
MySQL client version: mysqlnd 5.0.5-dev – 081106 – $Revision: 1.3.2.27 $
PHP extension: mysqli

到 phpMyAdmin 官方主页下载压缩包
http://www.phpmyadmin.net
phpMyAdmin-3.2.2.1-all-languages.***
4 种压缩格式

解压缩到 Apache 文档根目录
在 Windows Vista 下的路径类似于下面
C:Program FilesApache Software FoundationApache2.2htdocs
子文件夹起名 phpmyadmin
复制 config.sample.inc.php 粘贴 重命名 config.inc.php 用文本编辑器编辑
$cfg['blowfish_secret'] = ‘ba17c1ec07d65003’; // use here a value of your choice
引号里随便编辑一字符串即可
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = ‘mysqli’;
引号里 mysql 改为 mysqli

配置完成
访问 http://localhost/phpmyadmin/index.php
成功显示登录界面
用 root 登录

下面出现红字提示,未启用 mbstring
到php安装路径下编辑 php.ini
;extension=php_mbstring.dll
去掉前面的分号,保存,重启 Apache
OK! Done!

About Ccming

dillydally
This entry was posted in Weblogs. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s