1

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 ?

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Sep 21, 2012 at 9:03
0

1 Answer 1

1

I'm currently solving my problem using a simple:

ln -s /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock /tmp/mysql.sock

I know that's not a clean solution but it's the easier I found.

answered Sep 21, 2012 at 13:46

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.