且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

c#winforms - 如何在程序内备份/恢复wampserver数据库

更新时间:2023-01-09 12:02:12

如何使用WAMP安装MySQL后端数据库的Winform .NET程序? WAMP字面意思是"Apache HTTP服务器,MySQL数据库和PHP编程语言都在Windows上运行"。

如果你想用.NET做一个动态网站,你通常使用ASP。 Net。


作为WAMP安装一部分的MySQL数据库的备份和重新启动主要取决于您应该如何在WAMP安装中备份和恢复数据库。你应该问一个你正在使用的数据库论坛,或者一般是
WAMP相关论坛,而不是C#相关论坛。


它在Windows上运行吗不是真正的。如果你想从Winforms自动化它,你需要首先弄清楚如何做到这一点。一旦你知道该怎么做,你就可以轻松地复制文件,向WebAPI发出命令,甚至(在限制范围内)远程
来自Windows Forms程序的Apache和MySQL服务。


Is it possible to make a c# program that can backup and/ or restore the wampserver database it is using? Please help.

How is a Winform .NET Programm using a WAMP installations MySQL Backend Database? WAMP literally means "a Apache HTTP Server, a MySQL Database and the PHP Programming language all run on a Windows".
If you want to do a dynamic Website with .NET, you usually use ASP.Net.

Backup and Reroll of a MySQL Database that is part of a WAMP installation depends primarily on how you are supposed to be backing up and restoring database in a WAMP installation. You should ask that one the forum of the Database you are using or maybe a WAMP related forum in general, not a C# related one.

That it runs on a windows does not realy mater. If you want to automate it from a Winforms, you need to figure out how to do it in the first place. Once you do know what to do, you can easily copy files, give orders to WebAPI and even (within limits) remote the Apache and MySQL Services from a Windows Forms programm.