How to find out the username and password for mysql database

前端 未结 7 1111
天命终不由人
天命终不由人 2020-12-07 20:25

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

7条回答
  •  时光取名叫无心
    2020-12-07 20:54

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

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

    You will see something like:

    $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.

提交回复
热议问题