Executing commands read from a file.

Hi I am new with MySQL. I have installed MySQL in my PC. Now I am trying to execute commands using SOURCE to execute commands read from a file but it doesn't let me do it. I receive the following message: "Failed to open file 'mysql_catalog.sql', error: 2"
I think the problem is because it doesn't find the file. I have copied the file in different folders but I receive the same message.

My question is: Where should I place the text file to let MySQL to find it?

Thank you
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!