1 Extract the Phpmyadmin-4.6.5.2-all-languages.zip file to " /Library/WebServer/Documents/ " and rename it to phpMyAdmin.
2 Copy the /Library/WebServer/Documents/phpmyadmin/ config.sample.inc.php in "" and name it config.inc.php
3 edit config.inc.php, modify as follows:
for cookie encryption, random long string $cfg[' Blowfish_secret ']= ' a8b7c6d ';when the phpMyAdmin appears in the "#2002 unable to log on to the MySQL server (#2002cannot log in to the MySQL server), please change localhost to 127.0.0. 1 OK, this is because the MySQL daemon does IP binding (bind-address=127.0.0.1) caused by the $cfg[' Servers '][$i][' Host ']= ' localhost ';change False to True, so that you can access the password-free MySQL, even if MySQL set the password can also be set, and then log in to phpMyAdmin when you enter the password $cfg[' Servers '][$i][' Allownopassword ']= False;
MAC uses phpMyAdmin