The reference material says to use the source command like this:
mysql> source file_name
My .sql file is in a different directory, so I tried it a few ways:
Like this:
mysql> source c:\Users\Username\SQLdumps\sqlscript.sql;
and:
mysql> source 'c:\Users\Username\SQLdumps\sqlscript.sql';
and:
mysql> source "c:\Users\Username\SQLdumps\sqlscript.sql";
and
mysql> source \Users\Username\SQLdumps\sqlscript.sql;
and
mysql> source "\Users\Username\SQLdumps\sqlscript.sql";
In every case I get an error message that says to check the manual for syntax to use near source. What am I doing wrong?