remove build dependency on cmake for sqlconnector

Change-Id: I73a56b902099939972b8f5c8a55d231459e5421b
non-system mariadb need iconv

Change-Id: I2c150d9adf9f5d21b36c9cf57f62e214dc97b680
fdo#82847 mariadb patch out problematic 'inline' that result in link issue

Change-Id: I60d9ba1315090c896d6f7f9b3d407ab11a1d2037