Search code examples
phpphpmyadminmamp

I cannot access my phpMyadmin (MAMP)


So, I was trying to access my databases through phpMyAdmin yet I was not able to get through because of this error.

Warning in ./libraries/session.inc.php#101
 session_start(): open(/Applications/MAMP/tmp/php/sess_f985b71806a5f4156e0d6e7b5cf40af535202552, O_RDWR) failed: No such file or directory (2)

Backtrace

./libraries/session.inc.php#101: session_start()
./libraries/common.inc.php#349: require(./libraries/session.inc.php)
./index.php#12: require_once(./libraries/common.inc.php)

I tried googling it but I cannot find an answer, I really hope someone can help me.

Is it possible I can reset the sessions using terminal?

enter image description here


Solution

  • Try running

    sudo mkdir -p /Applications/MAMP/tmp/php/
    sudo chmod -R 0777 /Applications/MAMP/tmp/