Ranger问题not using SSL the verifyServerCertificate property is set to ‘false‘. You need either

问题一 For compliance with existing applications not using SSL the verifyServerCertificate property is set to ‘false’. You need either to explicitly disable SSL by setting useSSL=false, or

mysql

useSSL=false

例如:
Ranger问题not using SSL the verifyServerCertificate property is set to ‘false‘. You need either_第1张图片

mysql配置添加一下两行重启mysql

sql_mode=STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTIO
skip_ssl

问题二:This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its 错误解决办法

在 MySQL 中创建函数时出现这种错误的解决方法:

1、在 MySQL 数据库中执行以下语句,临时生效,重启后失效

set global log_bin_trust_function_creators=TRUE;
2、在配置文件 my.ini 的 [mysqld] 配置,永久生效

log_bin_trust_function_creators=1

效果
Ranger问题not using SSL the verifyServerCertificate property is set to ‘false‘. You need either_第2张图片

你可能感兴趣的:(ambari,ssl,mysql,数据库)