-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while creating a new testresult DB #24
Comments
Hi @gdroes, |
Hi @test-fullautomation, currently I use my Windows Docker Desktop environment (v4.20.1) to host a mysql Docker with Version 8.0. Best regards |
Hello Gerhard, Can you try by adding below line add the beginning of Thank you, |
Hi @ngoan1608, the import after running the modified utils.sql throw the following error. MySQLdb.OperationalError: (1055, "Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'pjcmd_bvt.tbl_case.component' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by") I am using the latest RobotLog2DB Version v1.3.9 (23.06.2023) also. Best regards |
Hi Gerhard, Please also add below line to disable Thank you, |
Hi @ngoan1608 , sorry. We see the same error again. |
Hi Gerhad, Sorry for this inconvenience. Please help to double-check that
Thank you, |
Hi @gdroes , Could you update the status of your DB creation? Is the mysql error solved? Thank you, |
Hi @ngoan1608, sorry I was busy the last days. Unfortunately my mysql (8.0.33) docker is not running without the global sql_mode ONLY_FULL_GROUP_BY. On session level we can change the mode. |
Hi Gerhard, Is problem solved after disabling Thank you, |
Hi @ngoan1608, as I wrote above. The database is not running without this mode. So I am currently not able to check this. I try to create a new environment. But I need some time. |
Hi @ngoan1608 , I have checked the import now with |
Hi @ngoan1608 , is this a problem which occurs with mysql 8.0? Or is it independent of the mysql version. Thank you, |
Hi Thomas, Yes, we will face this issue when migrating to mysql 8.0. I hope that disabling I will take a look into the query in Hi @gdroes , Thank you, |
Hi @ngoan1608 the stored procedure is already created. |
Hi @ngoan1608 , |
Hi @gdroes , I have updated the implement of Could you help to to double-check by checking out that branch and execute the Looking forward to your response! Thank you, |
Hi @ngoan1608 , |
While executing utils.sql one function fail to be created
CREATE DEFINER=
pjcmd_bvt
@%
FUNCTIONpjcmd_bvt
._get_ConfValue
(strParam varchar(50)) RETURNS varchar(50) CHARSET utf8mb4BEGIN
#declare buffer for value
declare strValue varchar(50) default "";
#get value into buffer
select ParamValue into strValue from tbl_config where (ParamName=strParam);
#return buffer RETURN TRIM(strValue);
END
Error Code: 1418.
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)
The text was updated successfully, but these errors were encountered: