For this statement:
mysql <my_db_name> -u<user_name> -p<password> <mysql.sql
Where does phpMyAdmin assume mysql.sql is located in?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
regarding gnuds second point:
Reading in a file via < is not specific to mysql.
This works for any command and any file on the commandline.
(on UNIX as well as on Windows):
data from the file somefile is sent into the command via a channel
called STDIN.