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

 找回密码
 立即注册
搜索

请问一下 phpmyadmin2.9.1.1 要怎么设置?

[复制链接]
M-QQ 发表于 2007-1-11 09:23:33 | 显示全部楼层 |阅读模式
以下是config.sample.inc.php的文件内容,和我在网上看到的一些设置方法好像完全不同,不知道要怎么设置了!
请高手看看要怎么设置!文件内容如下!


<?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'] = '';

?>
回复

使用道具 举报

大九 发表于 2007-1-11 09:40:44 | 显示全部楼层
文件名字不对啊
回复

使用道具 举报

chancey 发表于 2007-1-11 09:41:51 | 显示全部楼层
配置文件是config.inc.php
回复

使用道具 举报

hao32 发表于 2007-1-11 09:42:11 | 显示全部楼层
你运行\scripts\setup.php>>add(添加好自己的需要的)>>add后就去Display一下,显示的东西就是你要的东西,创建一个config.inc.php文件,然后把内容复制进去就OK
回复

使用道具 举报

中天一线 发表于 2007-1-11 10:59:34 | 显示全部楼层
和2.8的不知道有没有区别。。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-11-21 02:42 , Processed in 0.095445 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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