Added mysql check dependency, cleaned depecrations

Change-Id: Ica0c0b70bc12031c3a0dc6d7533333e826767fb6