Could not execute SQL statement.
生活随笔
收集整理的这篇文章主要介绍了
Could not execute SQL statement.
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
| 组件 | 版本 |
| Flink | 1.12 |
| Mysql | 8.0.22-0ubuntu0.20.04.2 |
Flink SQl遇到下面的报错
[ERROR] Could not execute SQL statement. Reason: java.sql.SQLSyntaxErrorException: Access denied for user 'appleyuchi'@'desktop' to database 'dijie_test'解决方案:
mysql> GRANT ALL on dijie_test.* to 'appleyuchi'@'Desktop' with grant option;
Query OK, 0 rows affected (0.06 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.04 sec)
总结
以上是生活随笔为你收集整理的Could not execute SQL statement.的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 趸缴啥意思 什么是趸缴
- 下一篇: mysql中的各种join整理