MySQL赋予用户执行自定义Function的权限
将远程数据库导入到本地之后,一启动项目就报错“execute command denied to user”,提示用户没权限执行自定义FunctionCausedby:java.sql.SQLSyntaxErrorException:executecommanddeniedtouser'cxcs'@'localhost'forroutine'hzcx.getOrgName'atcom.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)……
不忘初心 发布于 2018-10-30 浏览(26) 赞 (0)