I was wondering if it's possible to import a mysql database using the mysql command line.
Most solutions give mysql -u root -p nameofdatabase < mysqlfile.sql
I was wondering if it's possible to do this inside the mysql commmand line, instead of passing arguments to the executable.
If I just do
mysql> mydatabase < mysqlfile.sql;
That just doesn't work. Thank you.