如何修复 phpMyAdmin 错误 #1231 - Variable 'lc_messages' can't be set to the value of
问题:
登录到你的 phpMyAdmin 实例后,你收到类似这样的错误消息:
phpmyadmin_error_example.txt
#1231 - Variable 'lc_messages' can't be set to the value of 'de_DE'解决方案
此错误消息由错误的语言代码引起 - 在上面列出的示例中,MySQL 不理解 de_DE 语言代码。
最简单的修复方法是将 phpMyAdmin 设置为固定语言。为此,将此行添加到服务器上的 config.inc.php 配置中。
config.inc.php
$cfg['Lang'] = 'en';你几乎可以在文件中的任何位置添加此行,但我建议在 $cfg['blowfish_secret'] 行之后添加。
如果这样做后错误消息没有消失,请确保 config.inc.php 中没有其他 $cfg['Lang'] 行。
Check out similar posts by category:
PHP
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow