我的PHP和Apache可以正常使用MYSQL也安装好了可是phpAdmin却管理不了MYSQL。弄好了小弟高分伺候!!

来源:百度知道 编辑:UC知道 时间:2024/06/07 04:41:20
这是Apache的配置文件的一部分:
这是PHPMYADMIN配置文件的一部分,并且我已经把它复制到PHPMYADMIN文件夹下:
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
#ExtendedStatus On

### Section 2: 'Main' server configuration

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "F:/webServer/phpWeb"

# same purpose, but it is much slower.
#
DirectoryIndex index.html index.php
这句加在最后:
# hjp add

LoadModule php5_module D:/Apache_php_MySQL/PHP/php5apache2.dll

PHPIniDir "D:/Apache_php_MySQL/PHP"

AddType application

在phpmyadmin目录下打开config.inc.php
找到这两个:
$cfg['PmaAbsoluteUri'] = '';
$cfg['blowfish_secret'] = '';

$cfg['PmaAbsoluteUri']是你phpmyadmin的绝对访问地址,要填写才行
例如:http://www.abc.com/phpmyadmin/ 根据自己的访问方式修改
$cfg['blowfish_secret']是PHPMYADMIN在写COOKIE时设置的名字,这个也要设置才行,例如:phpmyadmin_cookie 随便你写一个就可以了

另外$cfg['Servers'][$i]['auth_type'] = 'config'; 最好修改成
$cfg['Servers'][$i]['auth_type'] = 'cookie'; 这样就需要你填写用户名和密码才能登录,安全一点。还有问题请发消息给我。

1. MYSQL也安装好了? 可以在命令行下正常使用了吗?

2. 至少告诉我们,phpMyAdmin出错的提示是什么,或者页面表现是什么样的,不然怎么处理呢?