change condition to check if mysql installed