mysq5.7中报错
执行下面语句报错
mysql> grant replication slave on . to ‘myslave’@‘192.168.136.%’ identified by ‘123456’;

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘databases zhang’ at line 1
1:把skip-grant-tables语句从[root@localhost ~]# vim /etc/my.cnf中删除,用密码登录就可以

2:先执行

flush privileges;

再执行sql语句, 成功了,这是因为权限设置了但还没有刷新导致的

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your相关推荐

  1. 【报错】ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds t

    设置mysql中的root账户密码出现1064错误代码 ERROR 1064 (42000): You have an error in your SQL syntax; check the manu ...

  2. ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that corresponds to your

    在MySQL中导入.sql文件时 通过 use data source C:/info.sql use data(数据库名称为data) source C:/info.sql(提前把.sql文件放入一 ...

  3. 报错,> 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL

    错误: idea: 2020-12-23 15:26:13.885 ERROR 17972 --- [MessageBroker-2] o.h.engine.jdbc.spi.SqlException ...

  4. 创建存储过程报错:1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQ

    自己写了一个创建存储过程的语句: create procedure abcd() begin       select * from area; end ; 语法什么的都没有错误,但是提示报错:106 ...

  5. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version

    最近在学python爬虫,再写入数据的时候写不进数据库.报了这个很常见的异常 pymysql.err.ProgrammingError: (1064, "You have an error ...

  6. 数据库报错:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server v

    数据库出现 [Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your M ...

  7. 错误:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server vers

    错误:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server vers ...

  8. 解决 ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds

    很大可能是语法错误,检查一下是否有语法错误应该就可以解决. [ps]我本人可太马虎了...

  9. java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to yo

    今天踩了一个坑,报这种错误首先你可能会想到先去检查自己的SQL有没有写错,如果发现自己的SQL语句没有写错,那么就要注意了!经过排查才发现如下: 自己在数据库中原来使用的是order作为表名,而ord ...

最新文章

  1. V8 JavaScript引擎研究(三)垃圾回收器的实现
  2. win10子系统ubuntu文件夹位置_win10子系统(WSL)自定义安装路径
  3. Linux学习之四——磁盘与文件系统管理
  4. 高级程序员如何面对职场压力?(2)--受伤的总是我
  5. 【Java】编写Java程序,完成从键盘输入两个运算数据,计算两数之和并输出结果...
  6. 微信小程序之换肤的功能
  7. [eZ publish] fetch_alias() and fetch()
  8. pdo mysql ascii_跟bWAPP学WEB安全(PHP代码)--SQL注入的一些技巧
  9. Create Material by BDC and BAPI
  10. python 中的魔法类
  11. C语言-1-初识C语言(三)
  12. win10系统迁移到固态硬盘ssd
  13. iCloud账号服务器出问题了,icloud连接到服务器时出现问题(苹果id不能退出登录怎么办)...
  14. AST使用eval运行函数,更换数值
  15. u盘chk文件恢复图文教程
  16. Alfred Workflow教程与实例
  17. 【点云系列】 场景识别类导读
  18. 通用企业智能制造ERP源码 制造业通用ERP系统源码 工厂ERP源码C# web ASP.NET 源码
  19. 通过文献计量学助您发表高影响因子论文—基于Citespace和vosviewer文献计量学可视化SCI论文高效写作方法
  20. 《数据结构、算法与应用 —— C++语言描述》学习笔记 — 优先级队列 — 左高树

热门文章

  1. RabbitMQ负载均衡(2)——HAProxy
  2. Linux中基础指令
  3. ​来,一起搞AV,LiveVideoStack Meet再启动
  4. 【主题演讲】探索云、视频会议,编解码的奥妙
  5. 从LiveVideoStackCon 2019北京看多媒体技术趋势
  6. go interface{}类型转换
  7. 揭秘数据技术的前世今生,Techo TVP 开发者大会来了!
  8. 分布式一致性哈希算法
  9. 你与那些经验老练的程序员就差一个 英文编程单词表!【文中资源分享】
  10. 截取字符串,但要保证汉字不被截取半个