Use iniset for changing my.conf and avoid deprecated config options
Use iniset for changing my.conf and avoid deprecated config options

The mysql config file is using INI format so use the iniset function to
manipulate it. This change also rearranges the config updates a bit
allowing us to make mulitple changes in a single sudo call. This reduces
the number of required process forks, and the number of times the 'functions'
file needs to be sourced a bit.

The "log-slow-queries" option is deprecated since mysql 5.1.29 and got
removed with 5.6.x. Use the newer slow-query-log-file/slow-query-log
settings instead. They are available since 5.1.12. This fixes a problem
with running devstack with mysql-5.6, which is e.g. part of openSUSE
13.1.

Change-Id: Iea28bf05c664b5387d51dae1a63a780344623596

sequenceiq/devstack,BSJAIN92/OpenStack,costingalan/devstack,openstack-dev/devstack,sequenceiq/devstack,srics/devstack,flavio-fernandes/devstack,bljgaurav/openstack-test,samgoon/devstack,dirkmueller/devstack,mmasaki/devstack,neerja28/Devstack_GlusterFS,dirkmueller/devstack,varunarya10/devstack,richliu/devstack,ozamiatin/devstack,LoHChina/devstack,prithivm/branch01,j4/devstack,neerja28/Devstack_GlusterFS,Juniper/devstack,affo/devstack,vsham20/devstack,LoHChina/devstack,herrsechs/devstack,tianweizhang/devstack,parul24/devstack,eharney/devstack,TwinkleChawla/devstack,virtualopensystems/devstack,HPCHub/devstack,NaokiMiyata/devstack,group-policy/devstack,upadhyay-prashant/devstack,pczerkas/devstack,ozamiatin/devstack,atulpatil301/devstack,prithivm/branch01,innodee/openstackk,wenhuizhang/devstack,thomasem/devstack,eshnil2000/devstack,avvocatodemarchis/devstack,andrewrothstein/devstack,vishnugonela/devstack,CloudServer/devstack,kplus/devstack-moonshot,pczerkas/devstack,noironetworks/devstack,vsham20/devstack,TwinkleChawla/devstack,richliu/devstack,andrewrothstein/devstack,promptworks/devstack,nawawi/openstack,sc68cal/devstack,bljgaurav/openstack-test,jamielennox/devstack,group-policy/devstack,tianweizhang/devstack,HPCHub/devstack,varunarya10/devstack,liuquansheng47/devstack,herrsechs/devstack,wenhuizhang/devstack,costingalan/devstack,pombredanne/devstack,nuxeh/devstack,olivierlemasle/devstack,vishnugonela/devstack,mc2014/devstack,bq-xiao/devstack,bswartz/devstack,avvocatodemarchis/devstack,Mahito/devstack,bswartz/devstack,olivierlemasle/devstack,dtroyer/devstack,mssumanth/devstack,mssumanth/devstack,CloudServer/devstack,samgoon/devstack,dtroyer/devstack,sc68cal/devstack,thomasem/devstack,parul24/devstack,liuquansheng47/devstack,openstack-dev/devstack,j4/devstack,pombredanne/devstack,bigswitch/devstack,pacinete/devstack,noironetworks/devstack,NaokiMiyata/devstack,bq-xiao/devstack,eharney/devstack,williamthegrey/devstack,rushiagr/devstack,rushiagr/devstack,mc2014/devstack,bigswitch/devstack,upadhyay-prashant/devstack,Mahito/devstack,pacinete/devstack,kplus/devstack-moonshot,mmasaki/devstack,atulpatil301/devstack,nuxeh/devstack,promptworks/devstack,nawawi/openstack,BSJAIN92/OpenStack,affo/devstack,flavio-fernandes/devstack