mysql failed to open file error 2 example Example: ERROR: Failed to open file 'C:\Users\PuspakASharma\TEST.SQL', error: 2 In short, you got the path wrong.