Understood about the case-sensitivity.
The required DB and tables are created using reportserver-RS4.6.2-6102-schema-MySQL5_CREATE.sql.
Doesn’t the reportserver application not validate case-sensitive’ly ??
How can we fix this problem?
although turning off schema validation might (seem to) work for this specific problem, I don’t recommend turning it off. If there is no check of schema on startup and the schema is not valid, ReportServer may start anyway, but you’ll get errors in the least expected moments.
on your suggestion, i have set my mariadb config with “lower_case_table_names=1”. Since that will impact only existing tables that are created and not the existing ones, i have renamed all the existing tables of reportserver to lowercase as RS_ACE TO rs_ace.
But still the schema validation is failing with below.
18-Mar-2024 06:41:21.450 INFO [main] net.datenwerke.rs.EnvironmentValidator.startup Validating database schema…
18-Mar-2024 06:41:25.240 SEVERE [main] net.datenwerke.rs.EnvironmentValidator.hibernateValidateSchema Schema-validation: missing table [RS_ACE]
18-Mar-2024 06:41:25.242 SEVERE [main] net.datenwerke.rs.ReportServerServiceConfig.getInjector ReportServer encountered an error while validating its environment. Startup interrupted.
PS: i have also tried to start application before renaming to lowercase, still the exact same error as above.
Could you please suggest where exactly the schema validation is going wrong?
can you try with lower_case_table_names=2?
“2 - lettercase specified in the CREATE TABLE or CREATE DATABASE statement, but MySQL converts them to lowercase on lookup. Name comparisons are not case sensitive.”
Maybe the “lookup” has to be changed as stated here.
I just had to first rename all tables to lowercase, update mariadb config with lower_case_table_names=1 and restart DB and Tomcat.
Earlier, i did it in wrong order.