R4R: fix mysql pathing issue

* Working on Ubuntu 10.04 and 12.04, Fedora 18