Opened 15 years ago

Last modified 14 years ago

#77 new defect

.my.cnf generation and parsing.

Reported by: geofft Owned by:
Priority: minor Milestone:
Component: sql Keywords:
Cc:

Description

Per [help.mit.edu #691338], we should replace [mysql] with [client], or depending on compatibility, add a [client] section in addition.

We also have a bug that our parsing of .my.cnf doesn't deal with escaping, so e.g. passwords with # signs aren't escaped, or things that mysql escapes we don't unescape.

Change History (2)

comment:1 Changed 15 years ago by geofft

[help.mit.edu #781877] reported that replacing the [mysql] heading with a [client] heading seems not to break anything.

comment:2 Changed 14 years ago by mitchb

We made the [mysql] -> [client] change long ago. I'm not really sure just how much effort is worth putting into making a php script clever about mysql's config file escaping rules.

Note: See TracTickets for help on using tickets.