use the mysql equivalent of array_to_string, #32548