https://blog.csdn.net/qq_24309787/article/details/83859485
参考链接
首先进入hive/bin目录下
执行命令 ./hive --service metastore &
然后执行命令 ./hive
成功进入hive数据库