简体   繁体   中英

I can't access to my localhost/phpmyadmin (windows)

I have all this error:

在此处输入图片说明

I go in C:\\xampp\\phpMyAdmin and this is my 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'] = '';

       ?>
$cfg['Servers'][$i]['auth_type'] = 'config';

试试这个->

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM