Question

Connect winforms c# to mysql database

  • Posted July 19, 2020
  • MySQL

Hi, i did develope a winforms system with c#, i’d like migrate my database thas is at mysql to digitalocean vps, is this possible? if then, what is the way for complete this task? thanks in advance.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @yoquigua,

Yes, it’s possible. First you’ll need to prepare your droplet. To do so, you’ll need to create one fresh droplet and install MySQL on it. If you are unsure how to do so, I’ll recommend checking out the MySQL section of this article here:

https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-ubuntu-18-04#step-2-–-installing-mysql-to-manage-site-data

Once you have MySQL installed, you’ll just need to copy the.SQL file of your project to the droplet and import the database in the MySQL instance.

Regards, KFSys