Exception information:
Error executing: CREATE FUNCTION `getXportalUIdByLoginId`(input_val VARCHAR(100)) RETURNS int(11) BEGIN DECLARE myid INT; SELECT x_portal_user.id into myid FROM x_portal_user WHERE x_portal_user.login_id = input_val; RETURN myid; END
java.sql.SQLException: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
SQLException : SQL state: HY000 java.sql.SQLException: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) ErrorCode: 1418
2022-02-24 18:24:06,439 [E] ranger_core_db_mysql.sql file import failed!
2022-02-24 18:24:06,439 [I] Unable to create DB schema, Please drop the database and try again
...
2022-02-24 18:24:08,667 [E] CORE_DB_SCHEMA import failed!
This error is reported when Ranger is installed
Solution:
SET GLOBAL log_bin_trust_function_creators = 1;
Read More:
- db2 purescale Install Error: ERROR: An error occurred while compiling IBM General Parallel File System (GPFS) Portability Layer (GPL) on host “cf1”. Return code “3”.
- Bin File Programming Failed, could not find core in coresight setup, erase error
- org.springframework.core.NestedIOException: Failed to parse mapping resource: ‘file [XXX.xml]‘;
- [Solved] VScode Run C++ File Error: fatal error:opencv2\core.hpp:No such file or diretory
- [Solved] net core HTTP Error 500.31 – Failed to load ASP.NET Core runtime HTTP Error 500.30 – ASP.NET Core
- DB::Exception: test: Authentication failed: [How to Solve]
- [Solved] Mac Install mongodb error: NonExistentPath: Data directory /data/db not found.
- MySQL error: starting MySQL… The server quit without updating PID file
- [Solved] Could not find a package configuration file provided by “moveit_core“
- [Solved] import cv2 Error: ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- [Solved] Asp.Net Core IIS Error: HTTP Error 500.30 – ASP.NET Core app failed to start
- [Solved] import mxnet Error: OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory
- Keras’ print model error: Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work.
- [Solved] Springboot Error: org.apache.catalina.core.ContainerBase : A child container failed during start
- [Solved] Kubernetes Error: failed to list *core.Secret: unable to transform key
- [Solved] Clickhouse Error: DB::Exception: Cannot lock file /var/lib/clickhouse/status
- SLAMBook2 in ch3 code run fatal error: Eigen/Core: No such file or directory
- ValueError: Input 0 of node import/save/Assign was passed float from import/beta1_power:0 incompatib
- Yarn install error: 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: ‘install‘