Thank you, Chaitanya,<br>
<br>
for your reply.<br>
<br>
I'll look if in MacOS is the same as in Linux.<br>After all it's still based on UNIX.<br><br>Best regards,<br><br>Simone Micozzi<br>
<br>
----Messaggio originale----<br>
Da: chaitanya.ch@gmail.com<br>
Data: 7-mar-2011 4.45<br>
A: "simone.micozzi@tin.it"<simone.micozzi@tin.it><br>
Cc: <gdal-dev@lists.osgeo.org><br>
Ogg: Re: [gdal-dev] OGR mysql.sock path<br>
<br>
Simone,<br><br>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.<br><a href="http://dev.mysql.com/doc/refman/5.5/en/problems-with-mysql-sock.html">http://dev.mysql.com/doc/refman/5.5/en/problems-with-mysql-sock.html</a><br>
<br><div class="gmail_quote">On Mon, Mar 7, 2011 at 3:42 AM, <a href="mailto:simone.micozzi@tin.it">simone.micozzi@tin.it</a> <span dir="ltr"><<a href="mailto:simone.micozzi@tin.it">simone.micozzi@tin.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Ciao to all.<br><br>How can I tell OGR where to look for the mysql.sock file?<br>It looks for it in the standard path ( /tmp/mysql.sock )<br>
but on my server (a MacOS XServe) the socket file is not there<br>and I cannot simply make a link to the right path,<br>because at every start-up my server clean the /tmp directory.<br>Is there by any chance a configuration option <br>
where I can hardcode the right path?<br><br>Thank you anyway,<br><font color="#888888"><br>Simone Micozzi </font><br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>
<br>
<br>