194

I have done a fresh installation of Fedora 14 and installed the phpMyAdmin module. When I run phpMyAdmin, it asks me for a username and password.

What is the default username and password for phpMyAdmin?

Community
  • 1
  • 1
Umar Adil
  • 5,128
  • 6
  • 29
  • 47

4 Answers4

168

Default is:

Username: root

Password: [null]

The Password is set to 'password' in some versions.

Qarib Haider
  • 4,796
  • 5
  • 27
  • 38
69

I just installed Fedora 16 (yea, I know it's old and not supported but, I had the CD burnt :) )

Anyway, coming to the solution, this is what I was required to do:

su -
gedit /etc/phpMyAdmin/config.inc.php

if not found... try phpmyadmin - all small caps.

gedit /etc/phpmyadmin/config.inc.php

Locate

$cfg['Servers'][$i]['AllowNoPassword']

and set it to:

$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;

Save it.

Keval Domadia
  • 4,768
  • 1
  • 37
  • 64
  • 2
    Awesome fix. Here is the file location for ver phpMyAdmin-4.0.5 phpMyAdmin-4.0.5/libraries/config.default.php – pal4life Aug 15 '13 at 14:59
  • 2
    Doesn't work for me. It's set correctly, and it makes sense, but phpMyAdmin is always coming back to me with "Login without password is forbidden". – Jay Versluis Feb 21 '14 at 00:29
  • 3
    It's `/etc/phpmyadmin/config.inc.php` instead of `/etc/phpMyAdmin/config.inc.php` (all lower case) – a06e Dec 17 '15 at 19:27
  • Corrected @becko . Thanks. Next time feel free to edit it yourself :) – Keval Domadia Dec 25 '15 at 06:18
  • 1
    For me the AllowNoPassword = TRUE; thing was already there, I just had to uncomment it. – Johannes Nov 03 '18 at 13:48
  • It did not solve this issue even after changing it to TRUE. What can be other option to change the password of phpmyadmin – Abhils May 23 '19 at 07:52
  • Change the password of phpmyadmin? AllowNoPassword is set to true when you use MySQL default installation which has no password. – Keval Domadia May 24 '19 at 08:10
57

This is asking for your MySQL username and password.

You should enter these details, which will default to "root" and "" (i.e.: nothing) if you've not specified a password.

JoshYates1980
  • 3,476
  • 2
  • 36
  • 57
John Parker
  • 54,048
  • 11
  • 129
  • 129
7

If it was installed with plesk (not sure if it's just that, or on the phpmyadmin side: It changes the root user to admin.

Techie
  • 44,706
  • 42
  • 157
  • 243
Mara
  • 71
  • 1
  • 1