Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

PHPMYADMIN 最新的 2.9.1.1 谁会设置

[复制链接]
sensesTiTi 发表于 2006-12-4 19:25:59 | 显示全部楼层 |阅读模式
<?php

/* $Id: config.sample.inc.php 9673 2006-11-03 09:05:54Z nijel $ */
// vim: expandtab sw=4 ts=4 sts=4:

/**
* phpMyAdmin sample configuration, you can use it as base for
* manual configuration. For easier setup you can use scripts/setup.php
*
* All directives are explained in Documentation.html and on phpMyAdmin
* wiki <http://wiki.cihar.com>.
*/

/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

/*
* Servers configuration
*/
$i = 0;

/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pmausr';
$cfg['Servers'][$i]['controlpass'] = 'pmapass';
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';

/*
* End of servers configuration
*/

/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';

?>
回复

使用道具 举报

hao32 发表于 2006-12-4 22:44:13 | 显示全部楼层
你首先运行\scripts\setup.php

根据的需要add好东西...提交...然后display就可以看到生成的一些文字,复制他们然后在phpmyadmin下创建一个config.inc.php..OK了
回复

使用道具 举报

胡来一小刀 发表于 2006-12-5 16:26:21 | 显示全部楼层

帮我看看是怎么回事

前两幅是我没做任何配置按楼上说的运行得到的图片:

后一幅是我自行修改了密码出现的错误,????不明白???求助~!!
Snap2.gif
Snap3.gif
Snap4.gif
回复

使用道具 举报

胡来一小刀 发表于 2006-12-5 16:28:53 | 显示全部楼层

补充

WIN2003+IIS+PHP5.2+MYSQL5.0.27+ZEND3.2+PHPMYADMIN2.9.1.1
回复

使用道具 举报

胡来一小刀 发表于 2006-12-5 16:29:38 | 显示全部楼层
但是我在CMD下能用ROOT和相应的密码进入,但是用PHPMYADMIN就是无法。。。
回复

使用道具 举报

 楼主| sensesTiTi 发表于 2006-12-5 18:24:29 | 显示全部楼层
顶一个跟你一样地``
回复

使用道具 举报

zyxwd 发表于 2006-12-5 18:43:39 | 显示全部楼层
这仍然是MYSQL配置不正确造成的!!!
回复

使用道具 举报

edwardhey 发表于 2006-12-5 21:27:10 | 显示全部楼层
应该是权限没有设置正确   在LINUX下把权限更改为777
win下改为可读可写


还有可能要改下session保存目录权限   同上

[ 本帖最后由 edwardhey 于 2006-12-5 21:28 编辑 ]
回复

使用道具 举报

胡来一小刀 发表于 2006-12-6 14:55:03 | 显示全部楼层
楼上的能说明白点吗?

我的MYSQL是按官方的视频教程一步步做的啊


session是在那里?我找不到

设权限是直接在文件上高系统的访问权限吗?
回复

使用道具 举报

hzjhjjj 发表于 2007-7-7 15:59:14 | 显示全部楼层
:victory: :victory:
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-11-21 19:53 , Processed in 0.103205 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表