I would like to use Mysql in QGIS. But when I want to create a new connection to the database (Add Vector Layer), I can't connect because QGIS is looking for
/tmp/mysql.sock
But I'm using XAMPP for Mac OS X so the socket is in
/Applications/XAMPP/xamppfiles/var/mysql/
Is there a way to change the path to the mysql socket in QGIS ?
Thank you.

/tmp/mysql.sockcouldn't be accessed (normal, because it doesn't exist :)) – Julien Fouilhé Sep 21 '12 at 10:18