2012-07-25 2 views
0

가능한 중복은 :
How do I setup ASP.NET MVC 2 with MySQL?MySQL 데이터베이스가있는 ASP.NET 구성?

얘들 아 내가 작성 및 MySQL 데이터베이스를 구성하고, ASP.NET MVC 프레임 워크를 사용하고 있습니다. 데이터베이스에 연결하는 데 사용해야하는 연결 문자열은 무엇입니까?

누구나 사용할 수있는 자습서 나 서적 리소스를 제안 할 수 있습니까?

+0

중복 가능성 : http://stackoverflow.com/questions/2512852/how-do-i-setup-asp-net-mvc-2-with-mysql 또는 http://stackoverflow.com/questions/3252949/what-is-wrong-with-this-mysql-connection-string – aleafonso

답변

1
<connectionStrings>  
    <add name="LocalMySqlServer" connectionString="Data Source=localhost;Database=xxxxx;User Id=xxxxx;Password=xxxxxxxx;" providerName="MySQL.Data.MySqlClient"/> 
</connectionStrings> 

희망이 도움이!

관련 문제