分析:JDBC在调用存储过程时不光用户要有execute的权限,还需要对mysql.proc具有访问权限。否则它无法访问metadata

解决方案:给数据库用户赋权,赋执行mysql.proc表的select权限,示例如下:

GRANT SELECT ON mysql.proc TO 'user'@'localhost';  

相关文章:

  • 2022-12-23
  • 2021-05-08
  • 2022-12-23
  • 2021-11-13
  • 2021-09-25
  • 2021-07-09
  • 2022-12-23
  • 2022-01-11
猜你喜欢
  • 2022-01-21
  • 2021-12-28
  • 2022-02-15
  • 2022-02-17
  • 2021-09-27
  • 2022-01-10
  • 2021-05-26
相关资源
相似解决方案