Mysql报错:Exception in thread "main" java.sql.SQLException: null,  message from server: "Host 'LAPTOP-

将数据写入到mysql中,若是选择将写好的程序提交到 spark集群上运行时,出现Exception in thread "main" java.sql.SQLException: null, message from server: "Host 'LAPTOP-的错误。 解决办法:进入cmd,登陆mysql后, 输入:GRANT ALL PRIVILEGES ON *.* TO 'root'@'
相关文章
相关标签/搜索