如何找出MySQL资料库的使用者名称和密码 [英] How to find out the username and password for mysql database

查看:44
本文介绍了如何找出MySQL资料库的使用者名称和密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我忘记了为mysql数据库设置的用户名和密码的设置.我怎么能找到它?我正在使用wamp服务器.我是mysql的新手.

I've forgotten what I set as username and password for mysql database. How could I be able to find it out? I am using wamp server. I am a newbie in mysql.

推荐答案

转到以下文件中的文件:WampFolder\apps\phpmyadmin[phpmyadmin version]\config.inc.php

Go to this file in: WampFolder\apps\phpmyadmin[phpmyadmin version]\config.inc.php

通常,wamp位于主硬盘驱动器文件夹C:\wamp\

Usually wamp is in your main hard drive folder C:\wamp\

您将看到类似的内容:

$cfg['Servers'][$i]['user'] = 'YOUR USER NAME IS HERE';
$cfg['Servers'][$i]['password'] = 'AND YOU PASSWORD IS HERE';

尝试使用该文件上的密码和用户名.

Try using the password and username that you have on that file.

这篇关于如何找出MySQL资料库的使用者名称和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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