phpmyadmin configuration phpmyadmin MySQL encryption configuration method

WBOY
Release: 2016-07-29 08:40:18
Original
936 people have browsed it

Take the version phpMyAdmin-2.6.1.tar.gz as an example.
First unzip phpMyAdmin-2.6.1.tar.gz to /usr/local/apache2/htdocs.
Get the folder phpMyAdmin-2.6.1 and rename it to phpmyadmin, (this will make it easier in future operations).
Go to the phpmyadmin folder and open config.inc.php with the vim command.
That is, #vim config.inc.php.
Encryption only needs to modify two parts:
1. Find $cfg['Servers'][$i]['auth_type'] = 'config'; (line 83), Change config to http.
For example, mine is: $cfg['Servers'][$i]['auth_type'] = 'http';
2. Fill in the username and password of the database in the next two lines
For example, mine is: $ cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '123456';
MySQL encryption in Phpmyadmin is complete !
****************************************************** ****
There is one more thing that needs to be modified during the Phpmyadmin configuration process:
Find $cfg['PmaAbsoluteUri'] = ''; (line 39)
Fill in the absolute address of your server's phpmyadmin at the end
For example Mine is:
$cfg['PmaAbsoluteUri'] = 'http://10.10.19.167/phpmyadmin';
This completes the phpmyadmin configuration, easy! (Note: Different versions may be different)

The above introduces the phpmyadmin configuration phpmyadmin MySQL encryption configuration method, including the phpmyadmin configuration content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template