Fix for v4 - mysql_xxx to sql_xxx
Fix for v4 - mysql_xxx to sql_xxx
Fix for v4 - mysql_xxx to sql_xxx
Small fix
Fix for v4 - mysql_xxx to sql_xxx
Higher than v3.5 if targeted for support
Remove unnecessary old function