- 论坛徽章:
- 0
|
解压后得到一个phpMyAdmin的目录(你可以改名)
找到目录里的config.inc.php文件,打开
找到 $cfg['PmaAbsoluteUri']
修改你将上传到空间的phpMyAdmin的网址
如:$cfg['PmaAbsoluteUri'] = 'http://your.domain.com/phpmyadmin/';
还有下面的
$cfg['Servers'][$i]['host'] = 'localhost';(通常用默认,也有例外)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
在自己的机子里调试用config,如果在网上用cookie。
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user(用户名,自己机里用root,在网上设你的ftp用户名)
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
自己机里不用设
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only(你只有一个数据就设置一下)
还有设
$cfg['DefaultLang'] = 'zh';
设置完毕可以上传到网上了。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/3383/showart_151578.html |
|