![]() |
|
|||||||
| 服务器环境搭建 Windows,Linux,IIS,Apache等服务器配置、安全维护以及PHP和MYSQL运行环境讨论。 |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
IP: 218.2.39.165
|
|||
|
|||
|
先下载一份最新版的phpMyAdmin MYSQL管理器。
解压后得到一个phpMyAdmin的目录(你可以改名) 找到目录里的config.inc.php文件,打开 找到 $cfg['PmaAbsoluteUri'] 修改你将上传到空间的phpMyAdmin的网址 如:$cfg['PmaAbsoluteUri'] = 'http://www.XXX.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'; 设置完毕可以上传到网上了。 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|