mysql failed to open file error 2 (What It Is & How to Fix It)

Today, We want to share with you mysql failed to open file error 2.In this post we will show you mysql> source, hear for failed to open file desktop mysqlsampledatabase sql error 2 we will give you demo and example for implement.In this post, we will learn about Localhost Phpmyadmin Server Error Solution with an example.

mysql: SOURCE error 2?

ERROR: Failed to open file ‘C:\Users\PuspakASharma\TEST.SQL’, error: 2

Read Also:  jQuery Ajax GET & POST REQUEST Methods PHP MySQLi

In short, you got the path wrong.

Failed to open file error: 2

Failed to open file , error: 2

Set in Windows:

Example 3:

USE bank;

SOURCE D:/Welcome/4cgandhi/SQL/Tamilrokers/Cookbook/recipes/tables/api_v1.sql;

Alternatively, you can use escaped back slashes:

SOURCE D:\\Welcome\\4cgandhi\\SQL\\Tamilrokers\\Cookbook\\recipes\\tables\\api_v1.sql;

I hope you get an idea about mysql source command.
I would like to have feedback on my blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Read Also:  wordpress Get Subcategories List custom PHP pages

About Pakainfo

I am Jaydeep Gondaliya, a software engineer, the founder and the person running Pakainfo. I'm a full-stack developer, entrepreneur and owner of I live in India and I love to write tutorials and tips that can help to other artisan, a Passionate Blogger, who love to share the informative content on PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.

View all posts by Pakainfo →

Leave a Reply

Your email address will not be published. Required fields are marked *