phpMyAdmin MySQL Encryption Configuration Method _php Tutorial

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

Unzip phpmyadmin-2.6.1.tar.gz to/usr/local/apache2/htdocs first,

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

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

That is #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, followed by two lines to fill in the database user name and password can

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

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

MySQL encryption is complete in phpMyAdmin!



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

There is one more place to modify during the phpMyAdmin configuration:

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

In the back, fill in the absolute address of your server's phpmyadmin.

As mine is:

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

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

http://www.bkjia.com/PHPjc/320322.html www.bkjia.com true http://www.bkjia.com/PHPjc/320322.html techarticle take version phpmyadmin-2.6.1.tar.gz as an example to extract phpmyadmin-2.6.1.tar.gz to/usr/local/apache2/htdocs first, Get the folder phpMyAdmin-2.6.1, rename it to phpMyAdmin, (so in the future ...

  • 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.