Skip to content

phpMyAdmin

Installation

emerge --ask dev-db/phpmyadmin

Configuration

mysql -u<user> -p<password>
create database phpmyadmin; 
use phpmyadmin;
grant all privileges on *.* TO '<user>'@'%'; 
flush privileges; 
quit;

Generate a string of random bytes

php -r 'echo bin2hex(random_bytes(32)) . PHP_EOL;'
vim /var/www/localhost/htdocs/phpMyAdmin/config.sample.inc.php

Now add the hash to default config: $cfg['blowfish_secret'] = ''