Simone,<br><br>I don&#39;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">&lt;<a href="mailto:simone.micozzi@tin.it">simone.micozzi@tin.it</a>&gt;</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>