You are here:

ASP.NET/Inserting Data to MySQL Server


I want to connect my .net window application to remote mysql server runs on linux.

I ask to my hosting company to configure my server so that I can connect .net window application to mysql server but they are saying-
.net application doesn't works/connect with the linux server and the port no. 3306 is already is in the allowed list of the firewall.

Is that true? If yes then what is the best solution to connect my .net window application to remote MySql server.


There should not be any issue in connecting to MySQL server.
If you can connect to MySql from query tool through ur windiws pc you should be able to connect by .net too

All u need is a perfect connection string. Please refer to below URL

Hope this will help u :)


All Answers

Answers by Expert:

Ask Experts


Aman Bhullar


1. Asp.Net(C#, VB) 2. IIS(6.0) 3. C# 4. Classic ASP 5. JavaScript


I have nearly 7 Years of Experience in Field of IT with Developer (Portal, Dynamic websites ,CRM's, CMS) Visual 2003,2005 ( , Database (SQL server 2005), Stored procedures IIS 5-6 JavaScript, CSS, DHTML, XML

Hold Masters in Computer Applications

Awards and Honors
Contributor Member of Achieved Master Certification(Programming for ASP.NET) []

©2016 All rights reserved.