Home >Database >phpMyAdmin >How to start phpmyadmin locally
Local installation configuration phpmyadmin:
1. Download the latest version of the installation package.
2. Unzip the installation package and put it in the htdocs folder in APMSever.
3. Change $cfg['blowfish_secret'] = ''; in phpMyAdmin/libraries/config.default.php to $cfg['blowfish_secret'] = '123456'; (Note: '123456' is a random character)
In the phpMyAdmin directory, open config.sample.inc.php, line 18 $cfg['blowfish_secret'] = ''; change to $cfg['blowfish_secret'] = '123456'; (Note: '123456' is a random character)
4. Configure the config.default.php file
Open config.default.php and search for $cfg[ 'PmaAbsoluteUri'] ="", plus the path where phpmyadmin is located, such as: $cfg['PmaAbsoluteUri'] ="http://218.241.157.76:3380/"
Find
$cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = '';
Just fill in your mysql user and password respectively. Here is
$cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = '123456';
to change the root user and password.
Start local phpmyadmin:
After modifying the file, enter "localhost/phpmyadmin" in the browser. The login information is as follows:
Server: 127.0.0.1:3306
User name: root
Password: (leave blank)
Recommended learning: phpmyadmin tutorial
The above is the detailed content of How to start phpmyadmin locally. For more information, please follow other related articles on the PHP Chinese website!