[gdal-dev] OGR mysql.sock path

Chaitanya kumar CH chaitanya.ch at gmail.com
Sun Mar 6 22:45:07 EST 2011


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.micozzi at tin.it <simone.micozzi at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110307/2e493019/attachment.html


More information about the gdal-dev mailing list