设置phpMyAdmin的密码 [英] Setting Password for phpMyAdmin

查看:108
本文介绍了设置phpMyAdmin的密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将rhel 5和php 5与mysql 5一起使用.我的服务器已经配置好,可以流畅地运行所有应用程序.我以root用户身份访问mysql,密码为"anitha123".但是,当我通过浏览器访问phpmyadmin时,它并没有要求输入密码.有人请告诉我如何设置它,例如提示输入用户名和密码.由于我不熟悉php mysql,请告诉我如何以简单的方式进行操作.

I am using rhel 5 and php 5 with mysql 5. My server is already configured and running all applications smoothly. I am accessing mysql as root and password is 'anitha123'. but when i am accessing phpmyadmin through browser, it is not asking for password. Somebody please tell me how can i set it like prompting for username ans password. Since i am not familiar with php mysql please tell me how to do it in simple way.

推荐答案

找到phpmyadmin.conf 并将auth类型设置为http

find phpmyadmin.conf and set auth type it to http

/* Authentication type */  
$cfg['Servers'][$i]['auth_type'] = 'http';  

这篇关于设置phpMyAdmin的密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆