Added mariadb logrotate file

A logrotate file for mariadb has been added to allow mariadb log
management.
Added additional configuration to allow logrotate

Both the my.cnf and .my.cnf files have additional configuration to allow
proper access to allow logrotation functionality.