【问题标题】:I can't access to my localhost/phpmyadmin (windows)我无法访问我的 localhost/phpmyadmin (windows)
【发布时间】:2017-09-06 16:25:15
【问题描述】:

我有所有这些错误:

我进入C:\xampp\phpMyAdmin,这是我的config.inc.php

     <?php
        /*
         * This is needed for cookie based authentication to encrypt password in
         * cookie
         */
        $cfg['blowfish_secret'] = 'xampp'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */

        /*
         * Servers configuration
         */
        $i = 0;

        /*
         * First server
         */
        $i++;
        //I think there are something that I wrong
        // Other configuration
        // This is  a part of config.inc.php file
        /* Authentication type and info */
        $cfg['Servers'][$i]['auth_type'] = 'config';
        $cfg['Servers'][$i]['user'] = 'root';
        $cfg['Servers'][$i]['password'] = 'root';
        $cfg['Servers'][$i]['extension'] = 'mysqli';
        $cfg['Servers'][$i]['AllowNoPassword'] = true;
        $cfg['Lang'] = '';
        //other configuration
        /* Bind to the localhost ipv4 address and tcpsdfsdf
sdfsdfsdfsdf */
        $cfg['Servers'][$i]['host'] = '127.0.0.1';
        $cfg['Servers'][$i]['connect_type'] = 'tcp';

        /* User for advanced features */
        $cfg['Servers'][$i]['controluser'] = 'pma';
        $cfg['Servers'][$i]['controlpass'] = '';

       ?>

【问题讨论】:

标签: php mysql phpmyadmin xampp


【解决方案1】:
$cfg['Servers'][$i]['auth_type'] = 'config';

试试这个 ->

$cfg['Servers'][$i]['auth_type'] = 'cookie';

【讨论】:

    猜你喜欢
    • 2017-03-02
    • 2012-10-10
    • 2014-10-03
    • 1970-01-01
    • 2014-04-21
    • 1970-01-01
    • 2016-07-31
    • 2016-07-30
    相关资源
    最近更新 更多