Not being able to use the "Source" command


#1

I have set up the files:

  • test1.sql
  • test2.sql
  • setupproject3.sql
    and can’t use the Souce command at the mysql prompt to process them and get this message:
    mysql> source setupproject3.sql
    ERROR:
    Failed to open file ‘setupproject3.sql’, error: 2

Can anyone assist please!
Thanks


#2

My two ideas might be that you are not in that directory, or those files don’t have read permissions for Others.


#3

Thank you Alexandr. I got it sorted out. Was not in directory. Was not explained thoroughly. But that’s ok were are all human

Joseph C. Du Bois