0

I have all this error:

enter image description here

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'] = '';

       ?>
Suraj Rao
  • 29,388
  • 11
  • 94
  • 103
Frante
  • 37
  • 5
  • Possible duplicate of [MySQL Error: : 'Access denied for user 'root'@'localhost'](http://stackoverflow.com/questions/41645309/mysql-error-access-denied-for-user-rootlocalhost) – Jonast92 Apr 11 '17 at 10:26

1 Answers1

0
$cfg['Servers'][$i]['auth_type'] = 'config';

Try this ->

$cfg['Servers'][$i]['auth_type'] = 'cookie';
Suraj Rao
  • 29,388
  • 11
  • 94
  • 103
Ibnul Quayum
  • 119
  • 4