手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

phpMyAdmin的安装配置

时间:2024-11-17 10:42:46

1、找到$cfg['blowfish_secret'] = '',将其值改为你自己想要的任意字符,如$cfg['blowfish_secret'] = 'owndownd';

2、找到$cfg['Servers'][$i]['auth_type'] = 'config',改为$cfg['Servers'][$i]['auth_type'] = 'cookie';

3、找到$cfg['DefaultLang'] = 'en-iso-8859-1',改为$cfg['DefaultLang'] = 'zh-utf-8';

4、找到$cfg['DefaultCharset'] = 'iso-8859-1',改为$cfg['DefaultCharset'] = 'zh-utf-8';

5、 $cfg['PmaAbsoluteUri'] = 'http://您的域名/phpmyadmin/'; (phpmyadmin的URL)

6、$cfg['Servers'][$i]['host'] = '数据库主机地址'; 本机localhost

7、$cfg['Servers'][$i]['user'] = '站点ID'; root

8、$cfg['Servers'][$i]['password'] = '密码'; zoneidc

9、$cfg['Servers'][$i]['only_db'] = '数据库名(站点ID)'; zoneidc

10、 修改完成后,保存config.inc.php文件;修改配置文件后,将phpmyadmin目录及其目录下的所有文件,通过ftp上传到客户网站的站点上

11、通过以上设置,就可以通过http://localhost/phpmyadmin/访问到phpMyAdmin登录界面了;

12、使用root账号登录,密码为空。登录后选择更改密码,输入自己需要的密码,点击“更改”按钮,即完成phpMyAdmin最后配置。现在已经可以通过phpMyAdmin来管理MySQL

© 手抄报圈