Last login: Sat Oct 8 21:04:32 on ttys000
192:~ liaodong$ PATH="$PATH":/usr/local/mysql/bin
192:~ liaodong$ mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
192:~ liaodong$ ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
-bash: syntax error near unexpected token `('
192:~ liaodong$ mysql>set PASSWORD =PASSWORD('123456');
-bash: syntax error near unexpected token `('
192:~ liaodong$