phpmyadmin download PHPMYADMIN brief installation tutorial recommended

WBOY
Release: 2016-07-29 08:42:05
Original
912 people have browsed it

1. First download phpmyadmin from the Internet, and then decompress it to an accessible web directory (if it is a virtual space, you can decompress it and upload it to the web directory through ftp, etc.). Of course, you can modify the name of the decompressed file.
2. Configure the config file
Open the config.default.php file under libraries, find the following items in order, and configure them according to the instructions:
A. Visit the URL
$cfg['PmaAbsoluteUri'] = ''; fill in phpmyadmin here Access URL
B.mysql host information
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
Fill in the ip address of the server where localhost or mysql is located, if 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 the default 3306, just leave it blank
C.mysql username and password
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user accesses the mysql username used by phpmyadmin
fg[ 'Servers'][$i]['password'] = ''; // MySQL password (only neededThe password corresponding to the above mysql user name
D. Authentication method
$cfg['Servers'][$i][' auth_type'] = 'cookie';
There are four modes to choose from here, cookie, http, HTTP, config
The config method is to enter the access URL of phpmyadmin to enter directly without entering the user name and password, which is unsafe , not recommended.
When this item is set to cookie, http or HTTP, logging in to phpmyadmin requires a data username and password for verification, as follows:
PHP installation mode is Apache, http and cookies can be used;
PHP installation mode is CGI can use cookies
E. Setting of phrase password (blowfish_secret)
$cfg['blowfish_secret'] = '';
If the authentication method is set to cookie, you need to set a phrase password. What password to set is up to you. Decide , but cannot leave it blank, otherwise an error will be prompted when logging in to phpmyadmin
Ok, so far, you have successfully installed phpmyadmin, it’s simple, log in to experience it now
Note:
This document only explains how to install phpmyadmin Basic configuration. For detailed descriptions of each configuration parameter in the config.default.php file, please refer to the next article on this site.

The above has introduced the phpmyadmin download PHPMYADMIN brief installation tutorial recommendation, including the content of phpmyadmin download. 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