I want to use MySQL to run certain SQL statements from a text file.
I attempted to execute source /Desktop/test.sql but got the following error:
mysql> . \home\sivakumar\Desktop\test.sql ERROR: Failed to open file '\home\sivakumar\Desktop\test.sql', error: 2
Any ideas as to why I'm doing this wrong?