#1193 - Unknown system variable #39;lc_messages#39; when trying to login to phpmyadmin(#1193 - 尝试登录 phpmyadmin 时出现未知的系统变量“lc_messages)
问题描述
我最近安装了 MySQL 和 phpMyAdmin,但是当我尝试使用 root 凭据登录到 phpMyAdmin 时,我收到此查询的以下错误:
I have recently installed MySQL and phpMyAdmin, but when I try to login to phpMyAdmin with the root credentials I get the following error for this query:
SQL 查询:
SET lc_messages = 'en_US';
MySQL 说:文档
#1193 - 未知的系统变量 'lc_messages'
#1193 - Unknown system variable 'lc_messages'
为什么我会遇到这个错误?
Why am I experiencing this error?
推荐答案
我遇到了同样的问题.检查您的 MySQL 版本:
I faced the same problem. Check your mySQL version:
对于 mySQL 5.5,使用 phpMyAdmin 4.4.x 及更高版本
For mySQL 5.5, use phpMyAdmin 4.4.x and above
对于 mySQL 5.1,使用 phpMyAdmin 4.0.x
For mySQL 5.1, use phpMyAdmin 4.0.x
希望这对某人有所帮助.
Hope this helps someone.
这篇关于#1193 - 尝试登录 phpmyadmin 时出现未知的系统变量“lc_messages"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:#1193 - 尝试登录 phpmyadmin 时出现未知的系统变量“lc_messages"
- 如何从数据库中获取数据以在 laravel 中查看页面? 2022-01-01
- 使用 GD 和 libjpeg 支持编译 PHP 2022-01-01
- 如何在 Symfony2 中正确使用 webSockets 2021-01-01
- openssl_digest vs hash vs hash_hmac?盐与盐的区别HMAC? 2022-01-01
- Laravel 5:Model.php 中的 MassAssignmentException 2021-01-01
- 如何使用 Google API 在团队云端硬盘中创建文件夹? 2022-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01
- PHP - if 语句中的倒序 2021-01-01
- PHP foreach() 与数组中的数组? 2022-01-01
- 覆盖 Magento 社区模块控制器的问题 2022-01-01
