首页 > 解决方案 > Can we query from the mysql dump file (.sql) directly from C#

问题描述

I have dumped mysql database and I get a file that has extension of Backup.sql. I want to ask that is their any way I can directly query(like Select * from products) from .sql file using C# programming language.

标签: c#mysql

解决方案


你不能。您需要一个 SQL 服务器,或者您可以使用某种非客户端服务器数据库引擎,例如SQLite。您仍然需要导入数据。


推荐阅读