Problem Description
I want to execute a text file containing SQL queries, in MySQL.
I tried to run `source /Desktop/test.sql` and received the error:
> mysql> . \home\sivakumar\Desktop\test.sql ERROR: Failed to open file
> '\home\sivakumar\Desktop\test.sql', error: 2
Any idea on what I am doing wrong?
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?