PhpMyAdmin configuration in win7

Source: Internet
Author: User
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:
  1. $ Cfg ['pmaabsoluteuri '] = 'HTTP: // localhost/PHPmyAdmin/'; do not miss the last slash.
  2. $ 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'] = '';
  3. $ Cfg ['servers'] [$ I] ['host'] = 'localhost ';
  4. $ Cfg ['servers'] [$ I] ['user'] = 'root'; // set the username of the MySQL database software
  5. $ Cfg ['servers'] [$ I] ['Password'] = 'root'; // MySQL password
  6. $ 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.
  7. 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
  8. In htdocs, set $ cfg ['sessionsavepath'] = 'd:/program files/php-5.2.17-Win32-VC6-x86/phpsessiontmp 'in PHPmyAdmin/libraries/config. Default. php ';
  9. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.