phpmyadmin / phpmyadmin/sql-parser

ContextMariaDb100133 does not exist

未关闭
#251 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug question
主要语言
PHP
星标
485
派生
119
PR 合并指标
30 天内没有已合并 PR

描述

Suddenly when trying to use phpmyadmin, I am receiving the error below. Interestingly, I was in a debugging session debugging some php code. I went to use phpmyadmin and in the debugger context.php popped up. I closed out the debugger, tried to go to phpmyadmin and received this error. My database seems to be fine as I can get to it via the command line. I use phpmyadmin a lot so would like to get this working. How do I recover from it? Cheers, Michael

Fatal error: Uncaught PhpMyAdmin\SqlParser\Exceptions\LoaderException: Specified context ("\PhpMyAdmin\SqlParser\Contexts\ContextMariaDb100133") does not exist.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

该 issue 未指出任何仓库文件或测试;首先在 SQL 解析器中重现 LoaderException,并检查如何选择和加载 ContextMariaDb100133。将请求的上下文与解析器支持的 MariaDB 上下文进行比较,然后验证 phpMyAdmin 无需该异常即可正常打开。

由索引模型根据 Issue 内容生成。

评估

技术栈
mariadb, php, sql
领域
databases
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。