phpmyadmin - 登录后phpmyadmin继续加载
问题描述
我正在使用 xampp,当我尝试登录 phpmyadmin 时,它一直在加载,但没有任何反应。
它甚至不会对空密码发出警告,我尝试将 $cfg['Servers'][$i]['AllowNoPassword'] 更改为 false,但它会继续加载。没有结果。这是我的 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++;
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '$0lamud1yathu';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';
/* Bind to the localhost ipv4 address and tcp */
$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'] = '';
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
$cfg['Servers'][$i]['relation'] = 'pma__relation';
$cfg['Servers'][$i]['table_info'] = 'pma__table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma__column_info';
$cfg['Servers'][$i]['history'] = 'pma__history';
$cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';
$cfg['Servers'][$i]['tracking'] = 'pma__tracking';
$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
$cfg['Servers'][$i]['recent'] = 'pma__recent';
$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
$cfg['Servers'][$i]['users'] = 'pma__users';
$cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
$cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
$cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
$cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';
$cfg['Servers'][$i]['designer_settings'] = 'pma__designer_settings';
$cfg['Servers'][$i]['export_templates'] = 'pma__export_templates';
$cfg['Servers'][$i]['favorite'] = 'pma__favorite';
/*
* End of servers configuration
*/
?>
解决方案
从 phpMyAdmin (config.inc.php) 文件中删除密码并将 $cfg['Servers'][$i]['AllowNoPassword'] 更改为 false。有效 !!
推荐阅读
- python - 如何为每个组的小计添加一行,然后添加最后一行总计条目
- android - 如何在 Jetpack Compose 的 TextField(提示)中定位文本?
- python - 用烧瓶从url下载文件?
- arduino - Arduino Control 可寻址 LED WS2812B,每块 10 个
- c++ - 如何更新预先存在的排行榜文本文件,确保已排序?
- android - 如何使用 ViewBinding 从父布局访问视图?
- php - 使用 PHP 从服务器执行 PowerShell 脚本
- apache - 精确 URL https://localhost:6060/mainapp/contentdir?contentVal=&required= 的 Apache 重定向规则
- python - 为什么 tf.estimator.Estimator 只运行一步?
- java - 在创建每个类型必须属于同一个父类的类型集合时如何强制执行类型安全?