4

I have phpmyadmin on my Arch linux box, it is running, so is apache with php and mysql.

When I go to http://localhost/phpmyadmin/, it shows the usual login prompt. However, no matter what I enter, pressing the submit button redirects me right back to the login form, with no error message or anything.

It worked a day or two back just fine.

What could possibly be wrong?

3
  • 1
    Thanks for downvote, much appreciated. Very constructive.
    – MightyPork
    Jun 27, 2014 at 18:36
  • Try with different broswers.
    – Cornelius
    Jun 27, 2014 at 18:50
  • Tried, didn't make any difference.
    – MightyPork
    Jun 27, 2014 at 18:52

2 Answers 2

1

Got it working, no idea what exactly fixed it.

  1. Install php-mcrypt (I found that somewhere on google)
  2. Clear all cookies
  3. Set correct timezone and enable NTP (also from some forums)
  4. Edit /etc/php/php.ini and enable mcrypt.so, and default timezone
  5. Sacrifice one black goat

Now it works again :)

13
  • 1
    Clear all cookies → There's your solution.
    – arielnmz
    Jun 27, 2014 at 19:38
  • 1
    actually that is quite certainly not the thing that solved it. After clearing cookies, the problem persisted...
    – MightyPork
    Jun 27, 2014 at 19:54
  • That's strange, when a package is missing it normally throws an error. By the way why are you still using phpmyadmin? Use Adminer instead.
    – arielnmz
    Jun 27, 2014 at 19:56
  • Well.. I've used it for years, never let me down until now. What's some reasons to switch to adminer?
    – MightyPork
    Jun 27, 2014 at 20:00
  • 1
    @arielnmz Are you sure about the 'Not under active dev'. They are releasing updates almost weekly.
    – RiggsFolly
    Jun 29, 2014 at 23:50
0

All MySQL Server installs are configured with one userid called 'root' and the password is empty i.e. leave it blank.

So login with

Username = root
Password = (leave this blank)

EDIT :

When you created the user account you are using did you create the account in one domain or more than one domain.

In other words have you created userid@localhost but not [email protected] and userid@::1

If not try creating all 3.

Your Apache error log should give you a clue, if you are getting an error message with ::1 as the ip address, this is the problem.

1
  • 1
    I have a configured password and I can log in using the shell. This is not the problem.
    – MightyPork
    Jun 27, 2014 at 18:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .