phpMyAdmin安装教程

来源:百度文库 编辑:神马文学网 时间:2024/04/27 20:04:03
先下载一份最新版的phpMyAdmin MYSQL管理器。
解压后得到一个phpMyAdmin的目录(你可以改名)
找到目录里的config.inc.php文件,打开
找到 $cfg[‘PmaAbsoluteUri‘]
修改你将上传到空间的phpMyAdmin的网址
如:$cfg[‘PmaAbsoluteUri‘] = ‘http://hztv.com.ru/phpmyadmin/‘;
还有下面的
$cfg[‘Servers‘][$i][‘host‘] = ‘localhost‘;(数据库服务器,通常用默认,也有例外)
$cfg[‘Servers‘][$i][‘auth_type‘] = ‘config‘; // Authentication method (config, http or cookie based)?
登录方式,在自己的机子里调试用config,如果在网上用http或cookie。
$cfg[‘Servers‘][$i][‘user‘] = ‘root‘; // MySQL user(数据库用户名,自己机子里用root,在网上设你的数据库用户名)
$cfg[‘Servers‘][$i][‘password‘] = ‘‘; // MySQL password (数据库密码,自己机子里不用设)
$cfg[‘Servers‘][$i][‘only_db‘] = ‘‘; // If set to a db-name, only(数据库名称)
还有设置
$cfg[‘DefaultLang‘] = ‘zh‘;  中文显示默认
设置完毕可以上传到网上了。
浏览 http://hztv.com.ru/phpmyadmin/ 当然你设置不同就用那个网址。