-p without the passwd immediately following is not compatible with
input redirection.
Either add the password after the -p with NO space, or better yet,
create a .my.cnf file in the home directory of the user running the script
and have it contain the user and password settings.
Victor Spång Arthur
Victor Sp?ng Arthursson <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm having a strange problem - I can't read data using the
>
>mysql -u root -p database
> Not getting any error message, but some kind of introduction text
> flashes by reading:
>
>
> [powerbook:~] victor% /usr/local/mys
Hi!
I'm having a strange problem - I can't read data using the
mysql -u root -p database
Not getting any error message, but some kind of introduction text
flashes by reading:
[powerbook:~] victor% /usr/local/mysql/bin/mysql -u root -p *** databas
< /path/to/tabell.sql
/usr/local/mysql/b