Win7 of phpMyAdmin in the air

Source: Internet
Author: User
Tags sqlite database
Configuration of phpMyAdmin in Win7
First download the compressed file from phpMyAdmin official website (phpMyAdmin on the official website of the demo database), extract the Htdoc under Apache, and change the folder name to " phpMyAdmin"。 (Do not know whether it can be placed in any place, the name of the folder can be arbitrary, if phpmyadmin to other places, how to find the Apache server?) Also please expert guidance! )
Due to the different versions of phpMyAdmin, there are different configuration file。 My approach is to delete the config.inc.php and config.simple.inc.php under the home directory, and modify the config.default.php file details below the Libraries folder as follows:

  1. $cfg [' pmaabsoluteuri '] = 'http://localhost/phpmyadmin/'; Don't lose the last slash.
  2. $cfg [' Servers '] [$i] [' auth_type '] = 'config '; Local debugging can be recommended with config cookies (cookies must be used for debugging over the network) need to be configured with a different thing $cfg[' blowfish_secret '] = ';
  3. $cfg [' Servers '] [$i] [' host '] = 'localhost';
  4. $cfg [' Servers '] [$i] [' user '] = 'root'; Set the user name of the MySQL database software
  5. $cfg [' Servers '] [$i] [' password '] = 'root'; MySQL Password
  6. $cfg [' defaultlang '] = 'zh'; Default language set to Chinese
    Online prompted to set the default encoding for gb2312 $cfg [' defaultcharset '] = 'gb2312'; But I didn't find the setting for the item, nor did I add this setting.
  7. Focus (solution for the problem that appears above)
    Create a new phpsessiontmp directory in the PHP5 home directory and set session.save_path = "D:/program files/php-5.2.17-win32-vc6-x86/in the php.ini configuration file Phpsessiontmp"
    Session.auto_start = 1
  8. Focus on Htdocs, phpmyadmin/libraries/config.default.php set $cfg[' sessionsavepath '] = 'd:/program Files/ Php-5.2.17-win32-vc6-x86/phpsessiontmp';
  9. Access in the browser, Http://localhost/phpmyadmin, appears the following interface, a large part of the success! If not, use the Force Refresh browser (Ctrl+f5). or clean down your browser's offline files and offline cookies. I am ctrl+f5 refresh, basic can be used

    But there's no problem.


PS: Need to add mysqli extension in 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.