麻辣堂|资源主站|开发论坛|在线手册
首页 Apache Linux Java MySQL 注册帮助 
PHP项目开发组是PHP开发资源网于2007组年建成立的项目开发团队,目前核心开发成员有27人, 项目协作成员8名.下设7个开发组,主要承接大/中型网站项目开发任务。

    由于开发任务较多,人员比较紧张,现面向社会招聘全职或者兼职开发人员,不管你是在校大学生,还是全职开发人员,以及SOHO都可以联系本站,我们可以长期合作,并为您带来丰厚的报酬。
  您现在的位置:PHP开发资源网 > 麻辣堂 > 详细资料
待解决
请教phpMyAdmin 2.6.0-beta2打不开的问题!
悬赏分:20 - 2007年06月04日

我装了PHP4+Apache,都是本地的,没有连接因特网,可以正常使用,PHP装在D:/Web/PHP中,Apache装在D:/Web/Apache中,然后我下载了MySQL5.0.1安装在D:/Web/mysql文件夹里了,第一次安装,按要求填了,也可以运行,运行了以后
闪了一下就最小化到右下角去了,我点那个小图标→Show me,出现mysql的主界面,在MyODBC框下面有二排灰色的字:
Not Found
Driver 3.51 Not Found
然后在my.ini Setup的内容为:
#This File was made using the WinMySQLAdmin 1.4 Tool
#2004-10-29 20:12:12

#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions

[mysqld]
basedir=D:/Web/mysql
#bind-address=172.0.10.53
datadir=D:/Web/mysql/data
#language=D:/Web/mysql/share/your language directory
#slow query log#=
#tmpdir#=
#port=3306
#set-variable=key_buffer=16M
[WinMySQLadmin]
Server=D:/Web/mysql/bin/mysqld-nt.exe
user=root
password=root
请问这个是正常的吗?
如果正常,那么我开始装phpMyAdmin 2.6.0-beta2
了,直接解压后放到D:/PHP中(我把PHP的运行目录改成了D:/PHP),名字没有变还是phpMyAdmin,然后我在浏览器中打上了:127.0.0.1/phpMyAdmin然后网页就变成了下面这段提示话了:

欢迎使用 phpMyAdmin 2.6.0-beta2

phpMyAdmin 试图连接到 MySQL 服务器,但服务器拒绝连接。您应该检查 config.inc.php 中的主机、用户名和密码,并且确定这些信息与 MySQL 服务器的管理员所给出的信息一致。

我在config.inc.php文件中找到以下字段:
$cfg['blowfish_secret'] = 'root';

/**
* Server(s) configuration
*/
$i = 0;
// The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use $cfg['Servers'][0].
// You can disable a server config entry by setting host to ''.
$i++;
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
// and "mysql/db" tables).
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'root'; // MySQL password (only needed
// with 'config' auth_type)
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
// this db is displayed in left frame
// It may also be an array of db-names, where sorting order is relevant.
$cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname

里面也不知道怎么设置,到底是MySQL出了问题还是phpMyAdmin中的设置有问题呢?
请懂的朋友说下,我是新来的,也许以前有朋友问过了,我没看见,我再问一次,请朋友们见谅,先说声不好意思了!

提问者:洋葱疯了   06-04 14:02
答复
路过。。。顺便帮顶:)
回答者:玉米づ冰冻可乐 - 瓦岗村民 8-22 09:10
我也来回答:
不管你有没有帮助我们,瓦岗寨8万村民将感谢你。。。。。

为防止灌水,您需要计算一道数学题: 答案:
71 + 88 = ? 请将计算结果填在上面

 
[]
©2007 PhpRes.COM