[Maintain] Changing MySQL port

Frederic Wenzel fred at osuosl.org
Thu Oct 11 21:56:57 UTC 2007


On 10/11/07, Dawn Keenan <dkeenan at uwaterloo.ca> wrote:
> I discovered through trial and error that using a hyphen as part of your
> database name is a bad idea, as it causes difficult to track connection
> errors.

This is because a dash is considered a minus in SQL unless it's
properly escaped. For database or table names this means enclosing
their name in `backticks`.

Fred


More information about the maintain mailing list