Download the compressed file from the official phpMyAdmin website (the demo database is available on the official phpMyAdmin website), decompress it to the htdoc of Apache, and change the folder name to "phpMyAdmin ". (I don't know if the folder name can be stored anywhere. If phpMyAdmin is stored elsewhere, how can the Apache server find it? For more information, see !)
Different phpMyAdmin versions have different configuration files. My solution is to delete config. Inc. php and config. Simple. Inc. php In the main directory, and modify the configuration. Default. php file in the libraries folder as follows:
- $ Cfg ['pmaabsoluteuri '] = 'HTTP: // localhost/PHPmyAdmin/'; do not miss the last slash.
- $ Cfg ['servers'] [$ I] ['auth _ type'] = 'config'; cookie recommended for local debugging (cookies are required for network debugging) you need to configure another item $ cfg ['blowfish _ secret'] = '';
- $ Cfg ['servers'] [$ I] ['host'] = 'localhost ';
- $ Cfg ['servers'] [$ I] ['user'] = 'root'; // set the username of the MySQL database software
- $ Cfg ['servers'] [$ I] ['Password'] = 'root'; // MySQL password
- $ Cfg ['defaultlang '] = 'zh'; // set the default language to Chinese
A message is displayed on the internet, indicating that the default encoding is gb2312 $ cfg ['defaultcharset'] = 'gb2312 '. However, I did not find the original setting and didn't add it.
- Key points (solutions to the above problems)
Create the phpsessiontmp directory in the PhP5 home directory and set session. save_path = "D:/program files/php-5.2.17-Win32-VC6-x86/phpsessiontmp" in the PHP. ini configuration file"
Session. auto_start = 1
- In htdocs, set $ cfg ['sessionsavepath'] = 'd:/program files/php-5.2.17-Win32-VC6-x86/phpsessiontmp 'in PHPmyAdmin/libraries/config. Default. php ';
- Visit in the browser, http: // localhost/phpMyAdmin, the following interface appears, a majority of success! If not, use force refresh browser (CTRL + F5 ). Or clear offline files and cookies in the browser. I just refreshed it by pressing CTRL + F5. It is basically usable.
But there is still no problem.
PS: add the mysqli extension to PhP! It is said that the actual use of MySQL is not affected, mainly linked to the SQLite database!
Reference: http://www.jb51.net/article/18318.htm ###
Http://www.myxzy.com/post-317.html