Today's MySQL Suckage
Paul Makepeace
paulm at paulm.com
Fri Jan 23 10:05:34 GMT 2009
On Fri, Jan 23, 2009 at 9:52 AM, Andy Wardley <abw at wardley.org> wrote:
>
> I have a file which defines a MySQL database schema. It looks a bit
> like this:
>
> /*
> This table defines users of the
> system who are Buffy fans.
> */
>
> CREATE TABLE buffy_fans (
> ..etc...
> );
>
> I feed it in thusly:
>
> $ mysql < my_db_schema.sql
>
> And it says:
>
> usage: who [-abdHlmpqrstTu] [am I] [file]
I for one can't replicate this.
MySQL 5.0.51a
P
>
> It's interpreting the line "system who are Buffy fans." as a shell command,
> even though it's inside a comment.
>
> Yes, I know. It serves me right for using a database made of cheese.
>
> A
>
More information about the london.pm
mailing list