`

[转]mysql错误Error(1133): Can’t find any matching row in the user table

阅读更多
刚尝试修改mysql数据库用户名时,提示"Error (1133): Can’t find any matching row in the user table",遂找了下网上的解决办法:

从mysql错误代码说明里,可以查到mysql错误1133是数据库用户名不存在,如下:

1133:MYSQL数据库用户不存在
如此,找到的最简单的办法就是在mysql命令行中执行FLUSH PRIVILEGES;这一语句即可。

mysql提示1133错误的原因是,变更了mysql.user表之后,没有使用FLUSH PRIVILEGES命令来更新权限表(grant tables)。
分享到:
评论

相关推荐

    WinCE 程序设计3

    WinCE程序设计电子书,下载后将4部分文件放在同一文件夹下解压方可使用

    tesseract-4.1.0.rar

    本文将详细介绍如何在Windows 10环境下编译Tesseract 4.1.0版本,并解决在使用过程中遇到的“couldn't find a matching blob”问题。 一、准备工作 1. 安装Visual Studio:为了编译Tesseract,你需要安装Microsoft...

    Python在Windows系统中安装matplotlib,镜像错误安装失败的解决方法

    ERROR: Could not find a version that satisfies the requirement fonttools>=4.22.0 (from matplotlib) (from versions: none) ERROR: No matching distribution found for fonttools>=4.22.0 ``` 这个错误表明在...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - FIX: In "Windows ClearType" font rendering mode (OS Windows mode) the "garbage" pixels can appear from the right and from the bottom sides of the painted rectangle of the TFlexText object....

    微软内部资料-SQL性能优化5

    Without a useful index, Microsoft® SQL Server™ must search every row on every page in table to find the rows to return. With a multitable query, SQL Server must sometimes search a table multiple ...

    【嵌入式学习】Keil5 链接报错: No space in execution regions with .ANY selector 解决方案

    最近需要将代码移植到nucleo STM32F072RBT6上,在更改Options中device芯片以及C++define后,再次编译链接,出现了几十个相同类型的错误,均为No space in execution regions with .ANY selector matching xxx.o(....

    MySQL 是怎样运行的:从根儿上理解 MySQL(下).pdf

    * No matching min/max row:当查询列表处有 MIN 或 MAX 聚集函数,但是并没有符合 WHERE 子句中的搜索条件的记录时,将会提示该额外信息。 * Using index:当查询使用了索引时,将会提示该额外信息。 * Using ...

    Informix Error Code and solutions

    #### 2020 - The following tables are involved in an error: table-name **错误代码**: 2020 **描述**: 指定错误涉及指定的表。 **解决方案**: 1. 查看伴随的错误消息,了解系统的处理情况。 2. 检查指定的表...

    fatal error: boostdesc_bgm.i: No such file or directory补充文件

    在编程和软件开发中,我们经常遇到编译错误,这些错误是由于各种原因导致的,例如缺少必要的头文件或库。在本例中,我们关注的错误是“fatal error: boostdesc_bgm.i: No such file or directory”,这通常意味着在...

    apache报Cannot serve directory No matching DirectoryIndex (index.html) found的解决办法

    7. **日志检查**:当遇到问题时,查看Apache的日志文件(通常是`/var/log/apache2/error.log`或`/var/log/httpd/error_log`)可以帮助诊断问题。错误信息通常会提供解决问题的线索。 8. **localhost无法访问的可能...

    python selenium运行失败常见错误.docx

    org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. 原因:可能是浏览器未安装,或者当前的驱动不支持当前系统环境。 解决方案: * 安装相应的...

    调试过程问题及解决方法记录1

    问题描述:编译时出现 Error: L6406E: No space in execution regions with .ANY selector matching ebook.o(.data)。 解决办法:Malloc 中管理的内部空间大小减小(原为 160k,现减小为 100k)。 在 STM32 系列...

    The-parentheses-matching-the-test.rar_Parentheses Matching_The T

    本资源“The-parentheses-matching-the-test.rar”提供了一个C语言实现的括号匹配检验,旨在帮助学习者深入理解和应用C语言以及相关的数据结构。 括号匹配的核心在于检查一个字符串中的开括号(如"(", "[", "{")...

    "Could not find Developer Disk Image"问题

    在苹果的Mac操作系统中,"Could not find Developer Disk Image"是一个常见的错误提示,通常发生在尝试运行Xcode或使用iOS模拟器时。这个错误意味着系统无法找到必要的开发人员磁盘映像,这通常是由于Xcode更新、...

    解决tensorflow测试模型时NotFoundError错误的问题

    Failed to find any matching files for xxx …… 经查资料分析,错误原因可能出在加载模型时的路径问题。我采用的加载模型方法: with tf.Session() as sess: print(Reading checkpoints...) ckpt = tf.train....

    iptables删除命令中的相关问题.doc

    最近在做一个V*P*N中间件的配置工作,在配置...iptables: Bad rule (does a matching rule exist in that chain?)。我就纳闷了,怎么会出现这个问题,按照官方的文档也有错?以下是我针对iptables删除命令的解决办法。

    Matching the Blanks- Distributional Similarity for Relation Lear

    在自然语言处理(NLP)领域,"Matching the Blanks"是一种广泛采用的技术,用于理解文本中的语义关系。该技术的核心是通过分析词语的上下文分布来推断其可能的关系,即利用“分布相似性”来学习语义。在这个过程中,...

Global site tag (gtag.js) - Google Analytics