At 1:24 PM +0800 2000-04-04, Jun Garin wrote:
> i downloaded and installed the binary distribution
>on my machine.
>got no problem running the daemon thru ./bin/safe_mysqld
>but when i try to dump my data into it. i got this error message
>mysql-host>[root:~] $ mysql -u root -p test < dump
>Enter password: ****************
>ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)
>it didnt ask for the password!! after i press enter, the error came out!
Solaris tries to read the password from stdin rather from the terminal.
It's taking the first line of the "dump" file as your password.
You can either specify the password on the command line (-pyour_pass) or
in the [client] group of your option file ~/.my.cnf.
Paul DuBois, paul@stripped