Ticket #805 (closed enhancement: wontfix)

Opened 9 years ago

Last modified 2 years ago

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) (diff)

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

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

Change History

Changed 9 years ago by djm@…

The patch

Changed 2 years ago by tbonfort

  • status changed from new to closed
  • resolution set to wontfix
  • description modified (diff)

mygis dropped

Note: See TracTickets for help on using tickets.