Allow hyphen "-" on a database name
Allow hyphen "-" on a database name.
According to MySQL website, this is not forbidden.
http://dev.mysql.com/doc/refman/5.0/en/identifiers.html
There are some restrictions on the characters that may appear in identifiers:
- No identifier can contain ASCII NUL (0x00) or a byte with a value of 255.
- Database, table, and column names should not end with space characters.
- Database and table names cannot contain /, \, ., or characters that are not permitted in file names.