php 如何设置phpmyadmin的用户名和密码

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17010819/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 12:04:46  来源:igfitidea点击:

How to Set user name and Password of phpmyadmin

phpmysqlphpmyadminxampp

提问by user2468472

how to set username and password of phpmyadmin

如何设置phpmyadmin的用户名和密码

I am using xampp software for localhost and I want to lock my phpmyadmin page when I open this link `

我正在为 localhost 使用 xampp 软件,我想在打开此链接时锁定我的 phpmyadmin 页面`

localhost/phpmyadmin

本地主机/phpmyadmin

its opening direct now and I want to lock this page and use username and password

它现在直接打开,我想锁定此页面并使用用户名和密码

example when I open this page

当我打开这个页面时的例子

localhost/phpmyadmin

本地主机/phpmyadmin

its required username and password

其所需的用户名和密码

how can I do this please help me to fix this issue

我该怎么做,请帮我解决这个问题

thanks

谢谢

回答by Ahmed Ali

You can simply open the phpmyadmin page from your browser, then open any existing database -> go to Privileges tab, click on your root user and then a popup window will appear, you can set your password there.. Hope this Helps.

您可以简单地从浏览器打开 phpmyadmin 页面,然后打开任何现有的数据库 -> 转到权限选项卡,单击您的根用户,然后会出现一个弹出窗口,您可以在那里设置密码.. 希望这有帮助。