Ticket #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) (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
Change History
Note: See
TracTickets for help on using
tickets.

