On Sat, 5 May 2001 14:11:24 -0700
"Daniel Goldin \(E-mail\)" <[EMAIL PROTECTED]> wrote:
> I'bve been following SAM'S TEACH YOURSELF MYSQL and hit a glitch. Whenn I do
> what I'm told to do create passwords here's what happens
>
> prompt> insert into user (host, user, password) values('localhost', 'myname'
> password('testpass');
try
insert into user (host, user, password) values ('localhost', 'myname'
password('testpass');
values() is seen as a function name, values () as keyword followed by parameters.
MySQL parser has this behaviour by default.
gl
>
> I get the following error:
> "Syntax error near unexoected token '(h'"
>
> --------------------------------------------
>
> Daniel Goldin [EMAIL PROTECTED]
> Creative Director 323.225.1926
>
> BlueLamp Productions
> www.blue-lamp.com
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php