Parametizing mysql hostanme and creating config files in subdirectories now.