gpt4 book ai didi

php - 我无法访问我的 localhost/phpmyadmin (windows)

转载 作者:行者123 更新时间:2023-11-29 19:07:53 26 4
gpt4 key购买 nike

我遇到了所有这些错误:

enter image description here

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

?>

最佳答案

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

试试这个 ->

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

关于php - 我无法访问我的 localhost/phpmyadmin (windows),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43343276/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com