The commands you are typing are shell commands.  You are in the mysql
client.  Try:
use mysql;
select * from user;

You need to be at a shell prompy to issue bin/mysqladmin -password
testpassword

HTH,
=C=

*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*


-----Original Message-----
From: Page Works Web Solutions [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 29, 2002 12:07 PM
To: [EMAIL PROTECTED]
Subject: install


Hi all,
   I'm a newbie at this, so here's a newbie question.  I have installed
MySql on a Cobalt Raq 4 running Linux via a .pkg file.  All seemed to go
well, I am able to get into the MySql directory via telnet but no commands
seem to work.  See session below.  Can anyone help me with putting a root
pass word on this?

[admin admin]$ mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 10 to server version: 3.23.37

Type 'help;' or '\h' for help. Type '\c' to clear the buffer

mysql> bin/mysqladmin -password testpassword;
ERROR 1064: You have an error in your SQL syntax near
'bin/mysqladmin -password
testpassword' at line 1
mysql> bin/safe_mysqld &;
ERROR 1064: You have an error in your SQL syntax near 'bin/safe_mysqld &' at
lin
e 1
mysql> bin/safe_mysqld & \g
ERROR 1064: You have an error in your SQL syntax near 'bin/safe_mysqld &' at
lin
e 1
mysql> bin/safe_mysqld &
    -> ;
ERROR 1064: You have an error in your SQL syntax near 'bin/safe_mysqld &' at
lin
e 1
mysql> bin/mysqladmin -p ping
    -> ;
ERROR 1064: You have an error in your SQL syntax near 'bin/mysqladmin -p
ping' a
t line 1

Thanks,
Shawn


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

Reply via email to