phpmyadmin install on debian

Install phpmyadmin on debian

# apt-get install phpmyadmin
choose http daemon (apache or lighttpd) and then No.

Set password for http://host/phpmyadmin/setup directory
# htpasswd -b /etc/phpmyadmin/htpasswd.setup admin password


# /usr/sbin/pma-configure
the above makes /var/lib/phpmyadmin/config.inc.php writeable so you can configure phpmyadmin at http://host/phpmyadmin/setup with 'admin' and 'password'

Edit configuration at http://host/phpmyadmin/setup (log in with admin and password)

Lock configuration
# /usr/sbin/pma-secure


You may log in to phpmyadmin at http://host/phpmyadmin with a mysql user.





phpmyadmin install on debian