KNL-1260 - Wrong for mysql initial db too


git-svn-id: https://source.sakaiproject.org/svn/kernel@310038 66ffb92e-73f9-0310-93c1-f5514f145a0a
KNL-1260 merge 310020 310021 310037 310038 to 10.x

git-svn-id: https://source.sakaiproject.org/svn/kernel@310039 66ffb92e-73f9-0310-93c1-f5514f145a0a