can't import sql using databasewhatever.sql

2003-10-13 Thread Victor Spång Arthursson
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

Re: can't import sql using databasewhatever.sql

2003-10-13 Thread Victoria Reznichenko
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%

Re: can't import sql using databasewhatever.sql

2003-10-13 Thread gerald_clark
-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