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