How to install piwik, if mysql installed as a local (non-root) user

Hello

since I don’t have root access to my box
I installed MYSQL as a local
http://www.thedance.net/~roth/TECHBLOG/localMySQL.html
its working fine but I don’t know how to make it work with piwik
because piwik can’t detect mysql automatically