大数据专栏 | ||
---|---|---|
上一篇 | 主目录 | 下一篇 |
【前言】
安装部署Hive,在使用命令schematool -dbType mysql -initSchema进行初始化启动时报错
错误概述
Your password has expired. To log in you must change it using a client that supports expired passwords.
即数据库root密码过期导致无法连接成功
解决方式
打开数据库:
mysql -uroot -p
>Enter Password:
更新数据库密码:
alter user 'root'@'localhost' identified by '123456';
退出
exit