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.的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 趸缴啥意思 什么是趸缴
- 下一篇: 什么是飘号?