创建用户:
create user ‘test’@’%’ identified by ‘test’;
显示ERROR 1396 (HY000): Operation CREATE USER failed for ‘test’@’%’
查看是不是存在这个用户
select user from user;
发现没有这个用户。
记得上次有删除过这个用户。可能没有刷新权限
flush privileges;
之后还是不行报错ERROR 1396 (HY000): Operation CREATE USER failed for ‘test’@’%’
没办法再删除一次:
drop user ‘test’@’%’;
flush privileges;
之后create user ‘test’@’%’ identified by ‘test’;
成功。
网上找了下原因:
Assume the user is there, so drop the user
After deleting the user, there is need to flush the mysql privileges
Now create the user.

最新文章

  1. C# 进程间通信之二传递复杂数据类型(转)
  2. TopCoder SRM 590
  3. LR测试https协议设置方法
  4. 全国信息学奥林匹克联赛(NOIP2014)复赛 模拟题Day2 长乐一中
  5. 论文阅读之:Is Faster R-CNN Doing Well for Pedestrian Detection?
  6. 立体匹配:关于Middlebury提供的源码的简化后的结构
  7. CODESOFT对话框中的显示字体怎么修改
  8. 关于在 loadView 中改变状态栏的可视性
  9. Could not load the assembly 'App_Web_cwclgcuu'. Make sure that it is compiled before accessing the page.
  10. poj 1094
  11. VS源码编译QuaZip(Windows下)
  12. vue全局引入scss文件(推荐)
  13. CSS3实战开发: 折角效果实战开发
  14. python 写入CSV出现空白行问题及拓展
  15. Ubuntu16.04开机蓝屏问题解决
  16. 编译安装MySQL-5.7.13
  17. 安装kafka 集群 步骤
  18. kafka 部署
  19. java基础---->Java中枚举的使用(一)
  20. STL标准库-容器-rb_tree

热门文章

  1. kvm虚拟化之virt-install
  2. Hibernate 5.x 生成 SessionFactory 源码跟踪分析
  3. Jquery学习笔记,全面实用,需要的可以留下邮箱,给大家发原稿文档
  4. prometheus学习系列十: Prometheus AlertManager配置文件说明
  5. ZYNQ7000性能分析
  6. vimplus基本操作
  7. linux 常用工具记录及简介
  8. Java开发分析工具JProfiler的详细使用方法解析
  9. nfs实现k8s持久化
  10. (六)Kubernetes Pod控制器-ReplicaSet和Deployment和DaemonSet