DELPHI與.Net

程序開發中......... [注明:该Blog中的信息都并非原创,只是作为个人的阅读笔记]

phpadmin.config设定

PHPWind Board -> 站长交流 -> 救命啊:config.default.php这个怎么改,才能自己上传去自己管理啊! 登录 -> 注册 -> 回复主题 -> 发表主题
赤道洋流 2006-04-26 23:37
如题!
哎!菜鸟总是麻烦大家!

138u8 2006-04-26 23:41
一头雾水,请说明白一点~~

Invision 2006-04-26 23:47
QUOTE:
引用第0楼赤道洋流2006-04-26 23:37发表的“救命啊:config.default.php这个怎么改,才能自己上传去自己管理啊!”:
如题!
哎!菜鸟总是麻烦大家!


phpmyadmin ?

赤道洋流 2006-04-26 23:47
汗!是phpMyAdmin-2.8.0.3上传到自己的空间里管理!怎么改这个文件才可以管理?

zhenfu 2006-04-26 23:47
只要修改 CONFIG.INC.PHP 就可以了。

138u8 2006-04-26 23:50
QUOTE:
引用第3楼赤道洋流2006-04-26 23:47发表的“”:
汗!是phpMyAdmin-2.8.0.3上传到自己的空间里管理!怎么改这个文件才可以管理?

你购买的空间没这玩意吗?什么空间哦~~

Invision 2006-04-26 23:51
QUOTE:
引用第3楼赤道洋流2006-04-26 23:47发表的“”:
汗!是phpMyAdmin-2.8.0.3上传到自己的空间里管理!怎么改这个文件才可以管理?


config.default.php 中


CODE:
/**
* 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 ''. If you want more than one server, just copy following section
// (including $i incrementation) serveral times. There is no need to define
// full server array, just define values you need to change.
$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']       = '你的SQL用戶名';     // MySQL user
$cfg['Servers'][$i]['password']     = 'sql 密碼';       // MySQL password (only needed
                                  // with 'config' auth_type)
$cfg['Servers'][$i]['only_db']     = '';       // If set to a db-name, only

赤道洋流 2006-04-26 23:54
就改用户名和密码就行了?
那就谢谢咯!!!!各位谢谢咯!

2006-04-27 00:07
配置好的,要不要?

赤道洋流 2006-04-27 20:01
汗!怎么我在空间直接打开phpMyAdmin,连用户名和密码都不用输入就可以打开了!这不是等于。。。
怎么办!郁闷!

25329269 2006-04-27 20:18
$cfg['Servers'][$i]['auth_type']   = 'config';
三种认证方式config,http,cookie

赤道洋流 2006-04-27 20:23
是什么意思?
我想把它弄成,要输自己的用户名和密码才能访问,该怎么改?

25329269 2006-04-27 20:24
$cfg['Servers'][$i]['auth_type']   = 'cookie';

赤道洋流 2006-04-27 20:35
谢谢了!

赤道洋流 2006-04-27 20:42
晕,改成$cfg['Servers'][$i]['auth_type']   = 'cookie';却出现这个情况

赤道洋流 2006-04-27 20:44
晕,改成$cfg['Servers'][$i]['auth_type']   = 'cookie';却出现这个情况

赤道洋流 2006-04-27 20:45
谁帮我弄一弄!哎!我都快郁闷而死!

25329269 2006-04-27 20:54
$cfg['blowfish_secret'] = '';
在引号里填任意数字,如123
也可以为http认证方式

simear2004 2006-04-27 20:58
QUOTE:
引用第14楼赤道洋流2006-04-27 20:42发表的“”:
晕,改成$cfg['Servers'][$i]['auth_type']   = 'cookie';却出现这个情况

改成http就可以了

posted on 2006-05-16 20:50  人淡如菊  阅读(505)  评论(0编辑  收藏  举报

导航