[COOK-2581] database cookbook mysql libraries are not using my.cnf settings

https://tickets.opscode.com/browse/COOK-2581