Hi Friends


I Want Exact Connection String For MySQL With ASP .NET.


I have Facing This Error : No Such Host Name if Known.


Thanks.

Hi,

The connection string for MySQL in ASP.NET is as follows:

Server=localhost;Port=3309;Database=Test;Uid=username;Pwd=password;

Refer the following link.

Connection strings for MySQL

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.