R: Re: [gdal-dev] OGR mysql.sock path
simone.micozzi at tin.it
simone.micozzi at tin.it
Mon Mar 7 19:05:54 EST 2011
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.ch at gmail.com
Data: 7-mar-2011 4.45
A: "simone.micozzi at tin.it"<simone.micozzi at tin.it>
Cc: <gdal-dev at 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.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/20110308/361cda8b/attachment.html
More information about the gdal-dev
mailing list