PhpmyadminMySQL encryption configuration method. To export phpmyadmin-2.6.1.tar.gzas as an example, first extract phpmyadmin-2.6.1.tar.gz to usrlocalapache2htdocs, get the folder phpMyAdmin-2.6.1, rename it phpmyadmin, (in the future using phpmyadmin-2.6.1.tar.gz as an example
Decompress phpmyadmin-2.6.1.tar.gz to/usr/local/apache2/htdocs,
Get the folder phpMyAdmin-2.6.1 and rename it to phpmyadmin (which will be easier in future ).
Go to The phpmyadmin folder and run the vim command to open config. inc. php.
That is, # vim config. inc. php.
You only need to modify two parts for encryption:
1. find $ cfg ['servers'] [$ I] ['auth _ type'] = 'config'; (row 83rd) and change config to http.
For example, $ cfg ['servers'] [$ I] ['auth _ type'] = 'http ';
2. enter the username and password of the database in the following two rows.
For example, $ cfg ['servers'] [$ I] ['user'] = 'root ';
$ Cfg ['servers'] [$ I] ['password'] = '000000 ';
MySQL encryption in Phpmyadmin is complete!
**************************************** *************
You also need to modify the Phpmyadmin configuration process:
Find $ cfg ['pmaabsoluteuri '] = ''; (39 rows)
Enter the absolute phpmyadmin address of your server.
For example, mine is:
$ Cfg ['pmaabsoluteuri '] = 'http: // 10.10.19.167/phpmyadmin ';
The phpmyadmin configuration is complete! (Note: different versions may be different)
Unzip first decompress phpmyadmin-2.6.1.tar.gz to/usr/local/apache2/htdocs, get the folder phpMyAdmin-2.6.1, rename it to phpmyadmin, (this way in the future...