Home >Database >phpMyAdmin >How to access phpmyadmin
How to access phpmyadmin?
1. First 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.
After modifying the file, enter "localhost/phpmyadmin
" in the browser. The login information is as follows:
Server: 127.0.0.1:3306
Username: root
Password: (leave blank)
The above is the detailed content of How to access phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!