phpmyadmin

Edit

Generate 32 chars length random key and add

Or

Configure Apache

On Ubuntu, create file

On CentOS

Add following content

MySQL root can’t login to phpMyAdmin

Password Protect phpMyAdmin in CentOS Server

Add following config to /etc/httpd/conf.d/phpmyadmin.conf

Create password file

This will create user “admin” with password you specified.

Restart apache

Nginx

Add following inside any server entry