Home > Backend Development > PHP Tutorial > PHPMyAdmin quick configuration method_PHP tutorial

PHPMyAdmin quick configuration method_PHP tutorial

WBOY
Release: 2016-07-21 15:46:33
Original
868 people have browsed it

Although it may not be used when developing and debugging the system locally, when placing a Mysql database in a remote virtual host in the future, Mysql GUI tools such as phpmyadmin will inevitably be used. Therefore, familiarize yourself with how to use it locally. It is also necessary.
Then let’s start the installation and configuration now:
1. Generally, PHPMyAdmin downloaded from the Internet is a compressed package, and we release it into the htdocs directory, such as htdocsphpmyadmin.
2. Open the phpmyadmin directory and see if there is a config.sample.inc.php file in this directory. If it exists, rename it to config.inc.php. (Depending on the version, there may be a config.inc.php file directly, so there is no need to change the name, or there may be no config.sample.inc.php or config.inc.php at all, then we will go to the phpmyadminlibraries directory and change the config .default.php is copied to the phpmyadmin directory and renamed config.inc.php).
3. Open the config.inc.php file (you can use WordPad) and find $cfg['blowfish_secret'] = ''; and $cfg['Servers'][$i][ 'auth_type'] = 'cookie';, if the value of $cfg['Servers'][$i]['auth_type'] is cookie as seen before, then we must set it in $cfg['blowfish_secret' ] = ''Write any string of characters in the quotation marks, you can understand it as an identity verification code. For example $cfg['blowfish_secret'] = 'sunec'. Save and exit.
At this point, the installation and configuration of phpmyadmin is over. Enter the browser and enter http://localhost/phpmyadmin/main.php in the address bar. (The path here is based on the directory name where you unzipped phpmyadmin in htdocs. Determined), if everything goes well, a screen for you to enter your username and password should appear on the page. Enter your username and password (Mysql username and password), and then enter the main interface of phpmyadmin. As for how to use it, I won’t go into it here for the time being. You can explore it yourself first.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/320132.htmlTechArticleAlthough it may not be used when developing and debugging the system locally, it will be useful for remote virtual hosts in the future. When placing a Mysql database in, you will inevitably use Mysql GUI tools like phpmyadmin,...
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