Hi!
I'm having a strange problem - I can't read data using the
mysql -u root -p databasepath/to/whatever.sql
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
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 databasepath/to/whatever.sql
Not getting any error message, but some kind of introduction text
flashes by reading:
[powerbook:~] victor%
-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