Thank you, Chaitanya,
for your reply. I'll look if in MacOS is the same as in Linux. After all it's still based on UNIX. Best regards, Simone Micozzi ----Messaggio originale---- Da: chaitanya...@gmail.com Data: 7-mar-2011 4.45 A: "simone.mico...@tin.it"<simone.mico...@tin.it> Cc: <gdal-dev@lists.osgeo.org> Ogg: Re: [gdal-dev] OGR mysql.sock path Simone, I don't know about MacOS, but in Linux you can use the environment variable MYSQL_UNIX_PORT to set the location of the socket file. http://dev.mysql.com/doc/refman/5.5/en/problems-with-mysql-sock.html On Mon, Mar 7, 2011 at 3:42 AM, simone.mico...@tin.it <simone.mico...@tin.it> wrote: Ciao to all. How can I tell OGR where to look for the mysql.sock file? It looks for it in the standard path ( /tmp/mysql.sock ) but on my server (a MacOS XServe) the socket file is not there and I cannot simply make a link to the right path, because at every start-up my server clean the /tmp directory. Is there by any chance a configuration option where I can hardcode the right path? Thank you anyway, Simone Micozzi _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev -- Best regards, Chaitanya kumar CH. /tʃaɪθənjə/ /kʊmɑr/ +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev