[Mod_log_sql] Possible bug with hyphens in URI and LogSQLMassVirtualHosting

Douglas E. Warner silfreed at silfreed.net
Tue Oct 5 15:03:36 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 05 October 2004 15:03, Travis Morgan wrote:
> MySQL has no problem with dashes in the name of the database.

No, but you can't just do:

CREATE DATABASE domain_com_-_db1;

You have to do:
CREATE DATABASE `domain_com_-_db1`;
(notice the backticks).

I'm not sure if mod_log_sql is doing this or not.

- -Doug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBYv4YJV36su0A0xIRAoXWAJ9xqYbGtivpTfJ4mVeZ0dQ4L8xx1wCffbVB
EAhsvaw+Uq5SMz3xQ0/z3xg=
=I0Yt
-----END PGP SIGNATURE-----



More information about the Mod_log_sql mailing list