在设置 Cloudera Manager 数据库
格式:
如果报错
(1)数据库中必须没有表,用户权限表中没有增加记录
上面转载自这位博主:https://blog.csdn.net/weixin_40079336/article/details/86648553
我实际遇到的情况是:
执行:
mysql> grant all on *.* to 'temp6'@'%' identified by 'temp6' with grant option;
cd /opt/cloudera-manager/cm-5.4.3/share/cmf/schema
./scm_prepare_database.sh mysql -h192.168.224.101 -utemp6 -ptemp6 --scm-host CDH2401 temp6 root 123456