I understand that I need to log in to wamp server in order to create a database. My problem is that the phpmyadmin page opens without asking me to log in. So, I presume that I am not logged in. If so, I do not know how to log out. I know this is so basic but I am stuck here. Thanks for any advice.
4 Answers
The default username is "root" default password is '' (empty/blank).
if u want to know the password go to wamp installation path\apps\ for example C:\wamp\apps\phpmyadmin2.10.1 in this path u can fine the file named 'config.inc.php' open that file with any text editor and search for $cfg['Servers'][$i]['password'] the password had been stored in this variable.
Also check out https://stackoverflow.com/questions/4420894/wamp-server-mysql-user-id-and-password
Just go to Wamp Directory on your window and check phpmyadmin in apps folder inside wamp.
D:\wamp\apps\phpmyadmin4.1.14
Open config.inc.php and go on line 28.
Just put new password or remove it as per your need:
/* Authentication type */
$cfg['Servers'][$i]['verbose'] = 'mysql wampserver';
//$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
- 111
If you don't set username and password for wamp server it never asked for it.
What I can also recommend is downloading the latest phpMyAdmin from http://www.phpmyadmin.net.
Then unzip the folder to C:\wamp\phpMyAdmin-4.1.3-all-languages
Then launch
[http://localhost/phpMyAdmin-4.1.3-all-languages/index.php](http://localhost/phpMyAdmin-4.1.3-all-languages/index.php)
now it should only ask you for username (root) and password (blank/none/empty)