phpMyAdmin MySQL Encryption Configuration Method _php Skills

Source: Internet
Author: User
Tags phpmyadmin
Take version phpmyadmin-2.6.1.tar.gz as an example

First extract phpmyadmin-2.6.1.tar.gz to/usr/local/apache2/htdocs,

Get the folder phpMyAdmin-2.6.1, rename it to phpMyAdmin, (this will be easier in future operations).

Enter the phpMyAdmin folder and open config.inc.php with the VIM command.

namely #vim config.inc.php.

Encryption requires only two parts to be modified:

1. Find $cfg [' Servers '] [$i] [' auth_type '] = ' config '; (line 83rd), change config to http.

As mine is: $cfg [' Servers '] [$i] [' auth_type '] = ' http ';

2, immediately after two lines fill in the database username and password can be

As mine is: $cfg [' Servers '] [$i] [' user '] = ' root ';

$cfg [' Servers '] [$i] [' password '] = ' 123456 ';

phpMyAdmin in the MySQL encryption is done!



*****************************************************

There is one more phpmyadmin configuration that needs to be modified:

Find $cfg[' pmaabsoluteuri ' = '; (39 lines)

Complete the phpMyAdmin address of your server in the following

As mine is:

$cfg [' pmaabsoluteuri '] = ' http://10.10.19.167/phpmyadmin ';

This phpmyadmin configuration is complete, simple! (Note: Different versions may be different)
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.