You are here:

ASP.NET/Inserting Data to MySQL Server

Advertisement


Question
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.

Answer
Hi,

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
http://www.connectionstrings.com/mysql/

Hope this will help u :)

ASP.NET

All Answers


Answers by Expert:


Ask Experts

Volunteer


Aman Bhullar

Expertise

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

Experience

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

Education/Credentials
Hold Masters in Computer Applications

Awards and Honors
Contributor Member of Asp.net Achieved Master Certification(Programming for ASP.NET) [Experts-exchange.com]

©2016 About.com. All rights reserved.