The query_cache is removed in MySQL 8.0 and so running osmosis leads to this report: May 24, 2018 9:29:38 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion SEVERE: Thread for task 5-buffer failed ... Caused by: java.sql.SQLException: Unknown system variable 'query_cache_size'.