PHPMYADMIN simple installation tutorial recommendation _ php instance

Source: Internet
Author: User
Tags mysql host
To put it simply, phpmyadmin is a mysql management tool. After installing this tool, you can directly manage mysql Data on the web without executing system commands, it is very suitable for database managers who are unfamiliar with database operation commands. Next I will explain how to install the tool. download phpmyadmin from the Internet and decompress it to the accessible web directory (if it is a virtual space, decompress it and upload it to the web directory through ftp ), of course, you can modify the name of the extracted file.

2. Configure the config file
Open the config. default. php file under libraries, find the following items in sequence, and configure the items as instructed:
A. Visit the website
$ Cfg ['pmaabsoluteuri '] = ''; enter the phpmyadmin access URL here.

B. mysql host information
$ Cfg ['servers'] [$ I] ['host'] = 'localhost'; // MySQL hostname or IP address
Enter the IP address of the localhost or mysql server. If mysql and phpmyadmin are on the same server, press the default localhost
$ Cfg ['servers'] [$ I] ['Port'] = ''; // MySQL port-leave blank for default port
Mysql port. If it is 3306 by default, leave it blank.

C. mysql user name and password
$ Cfg ['servers'] [$ I] ['user'] = 'root'; // MySQL user used by phpmyadmin to access the mysql user name
Fg ['servers'] [$ I] ['Password'] = ''; // MySQL password (only needed corresponds to the password of the above mysql user name
D. Authentication Method
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'cooker ';
There are four modes available here: cookie, http, HTTP, config
In config mode, you can directly access the phpmyadmin access URL without entering the user name and password. It is insecure and is not recommended.
When this option is set to cookie, http, or HTTP, You need to verify the data username and password to log on to phpmyadmin. The details are as follows:
The PHP installation mode is Apache, and http and cookie can be used;
The PHP installation mode is CGI and cookie can be used.

E. Set the phrase password (blowfish_secret)
$ Cfg ['blowfish _ secret'] = '';
If the authentication method is set to cookie, you need to set the phrase password and the Setting Password, which is determined by yourself, but cannot be left blank. Otherwise, an error will be prompted when you log on to phpmyadmin.
Okay, so far, you have successfully installed phpmyadmin. Easy to use. log on to the console and try again.

Note:
This document only describes the basic configuration for installing phpmyadmin. For details about the configuration parameters in the config. default. php file, refer to the next article of the script home.
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.