![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Hive
lwf006164
嗯,想了解请联系我。
展开
-
Hive篇.连接mysql报错The reference to entity "useSSL" must end with the ';' delimiter
解决:&符号需要转义 //修改内容 &改成&原创 2019-07-16 22:21:04 · 718 阅读 · 0 评论 -
Hive篇.连接mysql报Establishing SSL connection without server's identity verification is not recommended
解决:在数据库连接的url中添加useSSL=false原创 2019-07-16 22:24:36 · 135 阅读 · 0 评论 -
Hive篇.mysql开放远程访问权限
版本5.x //给root开通远程访问权限 grant all privileges on *.* to 'root'@'%' identified by '006164'; //让设置生效 flush privileges; 版本8.x //查询user表 select host,user,authentication_string,plugin from user; //更新root的权限 ...原创 2019-07-16 22:42:07 · 554 阅读 · 0 评论 -
Hive篇.set命令使用
Hive命令行下执行set命令【仅当前会话有效】: //设置显示当前使用的数据库 set hive.cli.print.current.db=true; //设置显示表名 set hive.cli.print.header=true; Hive脚本中配置set命令【当前机器有效】: //进入编辑模式 vi ~/.hiverc //将上面的两行命令添加到该文件中 //设置显示当前使用的数据库 ...原创 2019-07-21 20:03:34 · 5882 阅读 · 0 评论