Installation configuration of phpmyadmin in win7 environment
1. First download phpmyadmin
2. Unzip it to an accessible web directory (if it is a virtual space, you can unzip it and upload it to the web directory through ftp, etc. ), of course you can also modify the name of the file after decompression.
3. 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:
1. Visit the URL
$cfg['PmaAbsoluteUri'] = ''//这里填写phpmyadmin的访问网址
For example:
$cfg['PmaAbsoluteUri'] = '//www.17.com/phpmyadmin';
2, mysql host information
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IPaddress
Fill in the localhost or the IP address of the server where mysql is located. If mysql and the phpmyadmin are on the same server, press the default localhost
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank fordefault port
mysql port, if it is the default 3306, just leave it empty.
3. mysql username and password
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user访问phpmyadmin使用的mysql用户名 fg['Servers'][$i]['password'] = ''; // MySQL password (onlyneeded对应上述mysql用户名的密码
4. Authentication method
$cfg['Servers'][$i]['auth_type'] = 'cookie';
There are four modes to choose from, namely: cookie, http, HTTP and config.
The config method is to enter the access URL of phpmyadmin to enter directly without entering the user name and password. It is unsafe and 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:
The PHP installation mode is Apache, and http and cookies can be used;
PHP installation mode is CGI and cookies can be used.
5. Setting the phrase password (blowfish_secret)
$cfg['blowfish_secret'] = '';
If the authentication method is set to cookie, you need to set the phrase password and cannot leave it blank, otherwise an error will be prompted when logging in to phpmyadmin.
So far, you have successfully installed phpmyadmin.
Recommended related articles and tutorials: phpmyadmin tutorial
The above is the detailed content of Installation configuration of phpmyadmin in win7 environment. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The primary key of a table is one or more columns that uniquely identify each record in the table. Here are the steps to set a primary key: Log in to phpMyAdmin. Select database and table. Check the column you want to use as the primary key. Click "Save Changes". Primary keys provide data integrity, lookup speed, and relationship modeling benefits.

Adding a foreign key in phpMyAdmin can be achieved by following these steps: Select the parent table that contains the foreign key. Edit the parent table structure and add new columns in "Columns". Enable foreign key constraints and select the referencing table and key. Set update/delete operations. save Changes.

Recently, many users using Win7 system have found that the icons in the taskbar suddenly disappeared, which makes the operation very inconvenient and they do not know how to solve the problem. This article will introduce to you how to solve the problem of disappearing taskbar icons in Win7 system. Bar! Cause Analysis When encountering such a situation, there are generally two situations: one is that the taskbar on the computer does not really disappear, but is just hidden, and the other is that the taskbar does disappear. Method 1: 1. There is a situation that you need to confirm first, that is, when the mouse is placed at the bottom of the screen, the taskbar will be displayed. You can directly click the mouse on the taskbar and select "Properties". 2. In the dialog box that opens, click & on the "Hide taskbar" option.

The WordPress database is housed in a MySQL database that stores all website data and can be accessed through your hosting provider’s dashboard, FTP, or phpMyAdmin. The database name is related to the website URL or username, and access requires the use of database credentials, including name, username, password, and hostname, which are typically stored in the "wp-config.php" file.

In Win7 system, many users want to delete personalized desktop background images, but do not know how to delete them. This article will show you how to delete personalized background images in Win7 system. 1. First, open the control panel interface of the Win7 system and click to enter the "Appearance and Personalization" settings; 2. Then, in the opened interface, click the "Change Desktop Background" setting; 3. Then, click below "Desktop background" option; 4. Then, select Select all, and then click Clear all. Of course, you can also use it under "Customize", right-click the theme you want to delete, and then click &q on the shortcut menu

Steps to delete a data table in phpMyAdmin: Select the database and data table; click the "Action" tab; select the "Delete" option; confirm and perform the deletion operation.

Many computer users know that network discovery is a network setting. This setting will affect whether the computer can find other computers and devices on the network and whether it can find the computer when other computers on the network are found. So how to enable network discovery in win7? The following computer System Home U Disk Installation will introduce you to the tutorial on how to enable network discovery in win7 system. 1. First, click the "Start Menu" icon on the desktop taskbar and choose to open the "Control Panel" interface. 2. Then, in the interface that opens, set "View by" to "Category", and then choose to enter "Network and Internet"

phpMyAdmin is susceptible to multiple vulnerabilities, including: 1. SQL injection vulnerability; 2. Cross-site scripting (XSS) vulnerability; 3. Remote code execution (RCE) vulnerability; 4. Local file inclusion (LFI) vulnerability; 5. Information disclosure Vulnerability; 6. Privilege escalation vulnerability.
