Hello,


I'm running mysql 3.23.37 on a Debian potato install.

I ran through the install from the mysql.com web site. Everything seems to
work ok but I do have one question. When I run mysqladmin or mysql I have to
put a ./ in front. I get a command not found if I don't. Is this correct
behavior?


 I'm trying to run through  a mysql/perl tutorial I found on a web site that
produces a guestbook.
When I enter this line:
mysql -uroot -e"insert into user(Host,User,Password)
values('localhost','guestbook',password('guestbook')" mysql


 after entering the previous lines fine, I get the following error:

 ./mysql -uroot -e"insert into user(Host,User,Password)
values('localhost','guestbook',password('guestbook')" mysql
ERROR 1064 at line 1: You have an error in your SQL syntax near
'user(Host,User,Password)
values('localhost','guestbook',password('guestbook')' at line 1

I also tried this on mysql 3.23.36 with the same result.

Any thoughts would be appreciated.

Thanks,
Mike



---------------------------------------------------------------------
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

Reply via email to