I have MySQL set up correctly on my linux computer, however I want a better way to input data into the database besides terminal. For this reason, I downloaded phpMyAdmin. However, when I try to log in to the phpMyAdmin from index.php, it doesnt do anything. It seems to just refresh the page without doing anything. I am putting in the correct MySQL username and password. What is the issue?
Here is a screen shot of what it shows after I click "go".
Make sure to set a 32 chars long random key in 'config.inc.php' in the
$cfg['blowfish_secret']
value. That solved it for me.In my case the hard drive was full.
Use
df -h
to check the space left on your hard drive, and if you want you can free some space by using the commandsudo apt-get clean
, which removes installation files.I hope this will help some future users.
I ran these commands and it worked for me:
This is a possible issue when the path to save php_session is not correctly set :
The directory for storing session does not exists or php do not have sufficient rights to write to it.
To define the php_session directory simply add the following line to the php.ini :
And give write rights to the http server.
usually, the http server run as user daemon in group daemon. If it is the case, the following commands will make it :
I fixed my issue on CentOS 7 with MariaDB and phpmyadmin I downloaded from offical phpmyadmin site by adding
to /etc/php.ini
and
I also restarted php-fpm and lighttpd after