Opened 20 years ago

Closed 13 years ago

#805 closed enhancement (wontfix)

patch to mapmygis.c to allow mapserver to connect to mysql on user defined port

Reported by: djm@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer C Library Version: unspecified
Severity: minor Keywords:
Cc:

Description (last modified by tbonfort)

Currently, the mapmygis.c code will only connect to mysql on the default port
and/or using the default unix domain socket file.  This patch allows the user to
optionally specify, in a map file CONNECTION statement, a mysql port and socket
file path.  It is backwards compatible with the current CONNECTION format.

current way:
   CONNECTION "host:user:pass:db:bin:"

new way:
   CONNECTION "host:user:pass:db:3306:/path/to/mysql.sock:bin:"

The patch is against the current cvs codebase.

Attachments (1)

mapmygis.patch (1.6 KB ) - added by djm@… 20 years ago.
The patch

Download all attachments as: .zip

Change History (2)

by djm@…, 20 years ago

Attachment: mapmygis.patch added

The patch

comment:1 by tbonfort, 13 years ago

Description: modified (diff)
Resolution: wontfix
Status: newclosed

mygis dropped

Note: See TracTickets for help on using tickets.